The Free Software Media System - Server Backend & API
Correctly handle retry when I frame only failed
gnattu663710216242
diff --git a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.csindex 2c57cf8710..80dd080d52 100644--- a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs+++ b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs@@ -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;}