mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-08-11 09:13:54 -04:00
Correctly handle retry when I frame only failed
This commit is contained in:
parent
1c4b5199b8
commit
6637102162
@ -767,7 +767,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
// The mpegts demuxer cannot seek to keyframes, so we have to let the
|
||||
// decoder discard non-keyframes, which may contain corrupted images.
|
||||
var seekMpegTs = offset.HasValue && string.Equals("mpegts", container, StringComparison.OrdinalIgnoreCase);
|
||||
if ((useIFrame && useTradeoff) || seekMpegTs)
|
||||
if (useIFrame && (useTradeoff || seekMpegTs))
|
||||
{
|
||||
args = "-skip_frame nokey " + args;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user