[vlc-commits] Qt: soutmrl: fix transcode filters enumeration (fix #8219)

Francois Cartegnie git at videolan.org
Tue Feb 26 17:07:44 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Feb 26 17:05:29 2013 +0100| [639c139eeb151686c8dd04fa2814906019aed6aa] | committer: Francois Cartegnie

Qt: soutmrl: fix transcode filters enumeration (fix #8219)

According to documentation, must be colon separated instead of commas.
Also removes list enclosure.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=639c139eeb151686c8dd04fa2814906019aed6aa
---

 modules/gui/qt4/components/sout/profile_selector.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/sout/profile_selector.cpp b/modules/gui/qt4/components/sout/profile_selector.cpp
index 88ce767..4b79d61 100644
--- a/modules/gui/qt4/components/sout/profile_selector.cpp
+++ b/modules/gui/qt4/components/sout/profile_selector.cpp
@@ -251,7 +251,7 @@ void VLCProfileSelector::updateOptions( int i )
             if ( !value.isEmpty() )
             {
                 QStringList valuesList = QUrl::fromPercentEncoding( value.toAscii() ).split( ";" );
-                smrl.option( "vfilter", QString("{%1}").arg( valuesList.join( "," ) ) );
+                smrl.option( "vfilter", valuesList.join( ":" ) );
             }
 
             /*if ( codec is h264 )*/
@@ -317,7 +317,7 @@ void VLCProfileSelector::updateOptions( int i )
             if ( !value.isEmpty() )
             {
                 QStringList valuesList = QUrl::fromPercentEncoding( value.toAscii() ).split( ";" );
-                smrl.option( "afilter", QString("{%1}").arg( valuesList.join( "," ) ) );
+                smrl.option( "afilter", valuesList.join( ":" ) );
             }
 
         } else {



More information about the vlc-commits mailing list