From a1b8504adfd45cebb1f44fd8248786c414a1ca31 Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 9 Oct 2014 17:43:13 +0000 Subject: WinGui: Another fix to --aname generation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6438 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../Utilities/QueryGeneratorUtility.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices') 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) -- cgit v1.2.3