X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fdialogs%2Fsout.cpp;h=c7a53fe7893ac470121dde400a83770817e76172;hb=96ad75b181675a9fc73c075c540d5e38fd0174c7;hp=3a6a53f2228e2b4aabdc6763234b9bca7c230ab0;hpb=babf7fcca704ae8afe49c8887ca0435e3f2712bc;p=vlc diff --git a/modules/gui/qt4/dialogs/sout.cpp b/modules/gui/qt4/dialogs/sout.cpp index 3a6a53f222..c7a53fe789 100644 --- a/modules/gui/qt4/dialogs/sout.cpp +++ b/modules/gui/qt4/dialogs/sout.cpp @@ -34,6 +34,7 @@ #include #include #include +#include #include SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf, const QString& inputMRL ) @@ -260,8 +261,8 @@ void SoutDialog::updateMRL() /* FIXME: This sucks. We should really return a QStringList instead of * (mis)quoting, concatainating and split input item paramters. */ - name = name.replace( " ", " " ); - group = group.replace( " ", " " ); + name = name.replace( " ", " " ); + group = group.replace( " ", " " ); /* We need to add options for both standard and rtp targets */ /* This is inelegant but simple and functional */ @@ -277,7 +278,9 @@ void SoutDialog::updateMRL() mrl.append( qfu( " :no-sout-standard-sap" ) ); } - if( ui.soutAll->isChecked() ) mrl.append( " :sout-all" ); + if( ui.soutAll->isChecked() ) mrl.append( " :sout-all" ); + + if( ui.ttl->value() != 1 ) mrl.append( " :ttl=" + ui.ttl->value() ); mrl.append( " :sout-keep" );