From 978227b1fa4e68005048b7ce3e4b81c432a2915d Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 23 Aug 2013 22:03:05 +0000 Subject: WinGui: Fix a small logic bug in the video encoder dropdown with av_mkv git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5743 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS') diff --git a/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs b/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs index e9fa3d7a4..e7f76f813 100644 --- a/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs @@ -50,7 +50,7 @@ namespace HandBrakeWPF.Converters.Video List encoders = EnumHelper.GetEnumList().ToList(); EncodeTask task = values[1] as EncodeTask; - if (task != null && (task.OutputFormat != OutputFormat.Mkv || task.OutputFormat != OutputFormat.av_mkv)) + if (task != null && task.OutputFormat != OutputFormat.Mkv && task.OutputFormat != OutputFormat.av_mkv) { encoders.Remove(VideoEncoder.Theora); } -- cgit v1.2.3