From 084f08caa5811d92c8865e9ec46a7849f00a9294 Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 21 Aug 2014 15:20:43 +0000 Subject: WinGui: Add some additional escaping around the audio track names git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6329 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/CS') diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index c804cf518..af9ae9b00 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -713,11 +713,11 @@ namespace HandBrake.ApplicationServices.Utilities if (firstLoop) { - audioItems = string.IsNullOrEmpty(trackName) ? "\"\"" : string.Format("\"{0}\"", trackName.Trim()); + audioItems = string.IsNullOrEmpty(trackName) ? "\\\"\\\"" : string.Format("\\\"{0}\\\"", trackName.Trim()); firstLoop = false; } else - audioItems += "," + (string.IsNullOrEmpty(trackName) ? "\"\"" : string.Format("\"{0}\"", trackName.Trim())); + audioItems += "," + (string.IsNullOrEmpty(trackName) ? "\\\"\\\"" : string.Format("\\\"{0}\\\"", trackName.Trim())); } if (foundTrackName) query += string.Format(" --aname={0}", audioItems); -- cgit v1.2.3