summaryrefslogtreecommitdiffstats
path: root/win/CS/Functions/QueryGenerator.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-02-22 18:54:20 +0000
committersr55 <[email protected]>2012-02-22 18:54:20 +0000
commitb2de088614db4ff8e9867a2b95e174a3b751302e (patch)
tree9311f5d90439bcd2c5e1320203d1cdeab1de9232 /win/CS/Functions/QueryGenerator.cs
parent8bd4efe5c7891fc428d56690dfd11aece7734d0e (diff)
WinGui: Pass "none" to --audio-copy-mask when all autopassthru checkboxes are unchecked.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4462 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/Functions/QueryGenerator.cs')
-rw-r--r--win/CS/Functions/QueryGenerator.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/CS/Functions/QueryGenerator.cs b/win/CS/Functions/QueryGenerator.cs
index 194798995..56fd88ac7 100644
--- a/win/CS/Functions/QueryGenerator.cs
+++ b/win/CS/Functions/QueryGenerator.cs
@@ -562,6 +562,10 @@ namespace Handbrake.Functions
{
audioQuery += string.Format(" --audio-copy-mask {0}", fallbackEncoders);
}
+ else
+ {
+ audioQuery += " --audio-copy-mask none";
+ }
audioQuery += string.Format(" --audio-fallback {0}", Converters.GetCliAudioEncoder(mainWindow.AudioSettings.PassthruSettings.AudioEncoderFallback));
}