Merge pull request #3192 from jellyfin/audio

Fix issue with audio transcoding
pull/3195/head
dkanada 4 years ago committed by GitHub
commit ecadde1e18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
}

Loading…
Cancel
Save