summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-10-09 17:43:13 +0000
committersr55 <[email protected]>2014-10-09 17:43:13 +0000
commita1b8504adfd45cebb1f44fd8248786c414a1ca31 (patch)
treece62f95c91467d921e8a3aa3cc5c9009ce9455d0 /win/CS/HandBrake.ApplicationServices/Utilities
parent0546c2104d6eb3700f1b2683a66babaf91686756 (diff)
WinGui: Another fix to --aname generation.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6438 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
index 2f6c4fa4e..d78731ce0 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
@@ -715,14 +715,14 @@ namespace HandBrake.ApplicationServices.Utilities
if (firstLoop)
{
- audioItems = string.IsNullOrEmpty(fixedTrackName) ? "\\\"\\\"" : string.Format("\\\"{0}\\\"", fixedTrackName.Trim());
+ audioItems = string.IsNullOrEmpty(fixedTrackName) ? string.Empty : string.Format("{0}", fixedTrackName.Trim());
firstLoop = false;
}
else
- audioItems += "," + (string.IsNullOrEmpty(fixedTrackName) ? "\\\"\\\"" : string.Format("\\\"{0}\\\"", fixedTrackName.Trim()));
+ audioItems += "," + (string.IsNullOrEmpty(fixedTrackName) ? string.Empty : string.Format("{0}", fixedTrackName.Trim()));
}
if (foundTrackName)
- query += string.Format(" --aname={0}", audioItems);
+ query += string.Format(" --aname=\"{0}\"", audioItems);
// Passthru Settings
if (task.AllowedPassthruOptions != null)