mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix issues.
This commit is contained in:
parent
56574b3516
commit
de1d36f2dc
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue