mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Merge pull request #3192 from jellyfin/audio
Fix issue with audio transcoding
This commit is contained in:
commit
ecadde1e18
@ -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
Block a user