summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-08-23 22:03:05 +0000
committersr55 <[email protected]>2013-08-23 22:03:05 +0000
commit978227b1fa4e68005048b7ce3e4b81c432a2915d (patch)
treeafbbf57fc0c6f072b774799fa1c402f31aaede2d
parent229d0c1badf2be70981bf2e1d5bbeac60f49bb2f (diff)
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
-rw-r--r--win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs2
1 files changed, 1 insertions, 1 deletions
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<VideoEncoder> encoders = EnumHelper<VideoEncoder>.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);
}