vlc | branch: master | Francois Cartegnie <[email protected]> | Fri Sep 21 16:48:33 2012 +0200| [323baccea6a7ea13be78ba8ac99b93bae651bca7] | committer: Francois Cartegnie
Qt: sout mlr generator: only apply x264 options when required > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=323baccea6a7ea13be78ba8ac99b93bae651bca7 --- modules/gui/qt4/components/sout/profile_selector.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt4/components/sout/profile_selector.cpp b/modules/gui/qt4/components/sout/profile_selector.cpp index 82e5415..ac76b75 100644 --- a/modules/gui/qt4/components/sout/profile_selector.cpp +++ b/modules/gui/qt4/components/sout/profile_selector.cpp @@ -256,8 +256,9 @@ void VLCProfileSelector::updateOptions( int i ) if( !value.isEmpty() ) codecoptions << QUrl::fromPercentEncoding( value.toAscii() ); - smrl.option( "venc", - QString("x264{%1}").arg( codecoptions.join(",") ) ); + if ( codecoptions.count() ) + smrl.option( "venc", + QString("x264{%1}").arg( codecoptions.join(",") ) ); } HASHPICK( "vcodec", "framerate" ); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
