mirror of https://github.com/jellyfin/jellyfin.git
fix issue with audio transcoding
This commit is contained in:
parent
777c9c7bc9
commit
73d123fe36
|
@ -865,7 +865,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
||||||
{
|
{
|
||||||
framerate = Math.Round(state.TargetFramerate.GetValueOrDefault(), 3);
|
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);
|
framerate = Math.Round(state.VideoStream.RealFrameRate.GetValueOrDefault(), 3);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue