mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Fix issues.
This commit is contained in:
parent
56574b3516
commit
de1d36f2dc
@ -191,8 +191,8 @@ async function getApi() {
|
||||
|
||||
tryGetFramerate(options) {
|
||||
if (options.mediaSource && options.mediaSource.MediaStreams) {
|
||||
for (let stream of options.mediaSource.MediaStreams) {
|
||||
if (stream.Type == "Video") {
|
||||
for (const stream of options.mediaSource.MediaStreams) {
|
||||
if (stream.Type == 'Video') {
|
||||
return stream.RealFrameRate || stream.AverageFrameRate || null;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user