mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
Add MediaStream.ReferenceFrameRate for problematic video files (#12603)
Co-authored-by: Nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user