[vlc-commits] Revert "Qt: escape demuxdump filename (refs #19841)"
    Hugo Beauzée-Luyssen 
    git at videolan.org
       
    Fri Apr 13 16:10:42 CEST 2018
    
    
  
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Apr 13 16:01:38 2018 +0200| [44394a1021e32a0dbb268b3a4d5bf6d62a9d0b83] | committer: Hugo Beauzée-Luyssen
Revert "Qt: escape demuxdump filename (refs #19841)"
This reverts commit 2de830a525e394004daaadc83ee6726d5a359fd8.
Fix #20026
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=44394a1021e32a0dbb268b3a4d5bf6d62a9d0b83
---
 modules/gui/qt/dialogs/convert.cpp | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/modules/gui/qt/dialogs/convert.cpp b/modules/gui/qt/dialogs/convert.cpp
index f48be56396..96357cef75 100644
--- a/modules/gui/qt/dialogs/convert.cpp
+++ b/modules/gui/qt/dialogs/convert.cpp
@@ -178,13 +178,10 @@ void ConvertDialog::close()
     for(int i = 0; i < incomingMRLs->length(); i++)
     {
         QString mrl;
-        QString newFileName;
 
         if( dumpRadio->isChecked() )
         {
-            newFileName = fileLine->text();
-            newFileName.replace( QChar('\''), "\\\'" );
-            mrl = QString( "demux=dump :demuxdump-file='%1'" ).arg( newFileName );
+            mrl = "demux=dump :demuxdump-file=" + fileLine->text();
         }
         else
         {
@@ -196,6 +193,8 @@ void ConvertDialog::close()
             }
             mrl += ":";
 
+            QString newFileName;
+
             // Only one file, use the destination provided
             if(singleFileSelected)
             {
    
    
More information about the vlc-commits
mailing list