2
0
Эх сурвалжийг харах

fix issue with audio transcoding

dkanada 5 жил өмнө
parent
commit
73d123fe36

+ 1 - 1
MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs

@@ -865,7 +865,7 @@ namespace MediaBrowser.Api.Playback.Hls
             {
                 framerate = Math.Round(state.TargetFramerate.GetValueOrDefault(), 3);
             }
-            else if (state.VideoStream.RealFrameRate.HasValue)
+            else if (state.VideoStream?.RealFrameRate != null)
             {
                 framerate = Math.Round(state.VideoStream.RealFrameRate.GetValueOrDefault(), 3);
             }