diff options
author | sr55 <[email protected]> | 2014-11-01 21:37:14 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-11-01 21:37:14 +0000 |
commit | 136be0c281c751b6258f9b28b5735a939ad80f51 (patch) | |
tree | d4964485e86a285a352ad209351b03520bd45e57 | |
parent | 356186fbff2db76609a182de4460b1466b5f7878 (diff) |
WinGui: SRT Subtitles Import now correctly escapes ,
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6494 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index f883256e3..229eb7037 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -820,7 +820,7 @@ namespace HandBrake.ApplicationServices.Utilities if (item.Default)
srtDefault = srtCount.ToString();
- itemToAdd = item.SrtPath;
+ itemToAdd = item.SrtPath.Replace("\\", "\\\\").Replace(",", "\\,");
srtFile += srtFile == string.Empty ? itemToAdd : "," + itemToAdd;
itemToAdd = item.SrtOffset.ToString();
@@ -872,7 +872,7 @@ namespace HandBrake.ApplicationServices.Utilities if (srtFile != string.Empty) // SRTs
{
- query += " --srt-file " + "\"" + srtFile.Replace("\\", "\\\\") + "\"";
+ query += " --srt-file " + "\"" + srtFile + "\"";
if (srtCodeset != string.Empty)
query += " --srt-codeset " + srtCodeset;
|