[vlc-commits] Qt: ConvertDialog: Escape filename in sout (fix #8436 part2)
Francois Cartegnie
git at videolan.org
Sat Apr 20 13:32:21 CEST 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Apr 20 13:24:49 2013 +0200| [929562e9d2edf41d6f59d063e6be71fb4c2a7530] | committer: Francois Cartegnie
Qt: ConvertDialog: Escape filename in sout (fix #8436 part2)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=929562e9d2edf41d6f59d063e6be71fb4c2a7530
---
modules/gui/qt4/dialogs/convert.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt4/dialogs/convert.cpp b/modules/gui/qt4/dialogs/convert.cpp
index 6cabe09..420c622 100644
--- a/modules/gui/qt4/dialogs/convert.cpp
+++ b/modules/gui/qt4/dialogs/convert.cpp
@@ -146,7 +146,8 @@ void ConvertDialog::close()
if( displayBox->isChecked() )
mrl += "duplicate{dst=display,dst=";
mrl += "std{access=file{no-overwrite},mux=" + profile->getMux()
- + ",dst='" + fileLine->text() + "'}";
+ + ",dst='" + fileLine->text().replace( QChar('\''), "\\\'" )
+ + "'}";
if( displayBox->isChecked() )
mrl += "}";
}
More information about the vlc-commits
mailing list