]> granicus.if.org Git - handbrake/commitdiff
WinGui: Pass "none" to --audio-copy-mask when all autopassthru checkboxes are unchecked.
authorsr55 <sr55.hb@outlook.com>
Wed, 22 Feb 2012 18:54:20 +0000 (18:54 +0000)
committersr55 <sr55.hb@outlook.com>
Wed, 22 Feb 2012 18:54:20 +0000 (18:54 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4462 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/Functions/QueryGenerator.cs

index 19479899577dfbf3746f8449888c645641bee34d..56fd88ac744a6e02ccd135d951f1c0023a237fc1 100644 (file)
@@ -562,6 +562,10 @@ namespace Handbrake.Functions
                 {\r
                     audioQuery += string.Format(" --audio-copy-mask {0}", fallbackEncoders);\r
                 }\r
+                else\r
+                {\r
+                    audioQuery += " --audio-copy-mask none";\r
+                }\r
 \r
                 audioQuery += string.Format(" --audio-fallback {0}", Converters.GetCliAudioEncoder(mainWindow.AudioSettings.PassthruSettings.AudioEncoderFallback));\r
             }\r