diff options
| author | gnattu <gnattu@users.noreply.github.com> | 2024-09-08 01:16:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-07 11:16:23 -0600 |
| commit | 5a8a19e07b0de471d4c0762d1692a29b06d5bfd6 (patch) | |
| tree | 52b2245e834435ff47a772231b3547200d9d11bc /Jellyfin.Api | |
| parent | 57452d65ef507f3087fd8f3f5530e64c533c5146 (diff) | |
Add MediaStream.ReferenceFrameRate for problematic video files (#12603)
Co-authored-by: Nyanmisaka <nst799610810@gmail.com>
Diffstat (limited to 'Jellyfin.Api')
| -rw-r--r-- | Jellyfin.Api/Helpers/DynamicHlsHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/DynamicHlsHelper.cs b/Jellyfin.Api/Helpers/DynamicHlsHelper.cs index ba92d811c..a58da17d5 100644 --- a/Jellyfin.Api/Helpers/DynamicHlsHelper.cs +++ b/Jellyfin.Api/Helpers/DynamicHlsHelper.cs @@ -738,7 +738,7 @@ public class DynamicHlsHelper { var width = state.VideoStream.Width ?? 0; var height = state.VideoStream.Height ?? 0; - var framerate = state.VideoStream.AverageFrameRate ?? 30; + var framerate = state.VideoStream.ReferenceFrameRate ?? 30; var bitDepth = state.VideoStream.BitDepth ?? 8; return HlsCodecStringHelpers.GetVp9String( width, |
