Skip to content

Commit 90ea984

Browse files
Merge pull request #1912 from MediaBrowser/dev
fix interlace detection stderr
2 parents 2442605 + 02b54f2 commit 90ea984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,8 @@ private async Task<bool> DetectInterlaced(MediaSourceInfo video, MediaStream vid
612612
UseShellExecute = false,
613613

614614
// Must consume both or ffmpeg may hang due to deadlocks. See comments below.
615-
RedirectStandardOutput = true,
616-
//RedirectStandardError = true,
615+
//RedirectStandardOutput = true,
616+
RedirectStandardError = true,
617617
RedirectStandardInput = true,
618618
FileName = FFMpegPath,
619619
Arguments = string.Format(args, probeSizeArgument, inputPath, videoStream.Index.ToString(CultureInfo.InvariantCulture)).Trim(),

0 commit comments

Comments
 (0)