OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 13 Nov 2009 23:28:44 +0000 (23:28 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 13 Nov 2009 23:28:44 +0000 (23:28 +0000)
- Fix --subtitle-forced, --subtitle-burn and --subtitle-default. These should have been using an = between the command and value.

git-svn-id: svn://localhost/HandBrake/trunk@2928 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/Functions/QueryGenerator.cs

index ca5262a..cd558f6 100644 (file)
@@ -453,11 +453,11 @@ namespace Handbrake.Functions
                     query += " --subtitle " + subtitleTracks;\r
 \r
                     if (subtitleForced != "")\r
-                        query += " --subtitle-forced " + subtitleForced;\r
+                        query += " --subtitle-forced=" + subtitleForced;\r
                     if (subtitleBurn != "")\r
-                        query += " --subtitle-burn " + subtitleBurn;\r
+                        query += " --subtitle-burn=" + subtitleBurn;\r
                     if (subtitleDefault != "")\r
-                        query += " --subtitle-default " + subtitleDefault;\r
+                        query += " --subtitle-default=" + subtitleDefault;\r
                 }\r
 \r
                 if (srtFile != "") // SRTs\r