[vlc-commits] Qt4: remove non-working stream output wizard TTL field (refs #4322)
Rémi Denis-Courmont
git at videolan.org
Thu Aug 23 16:22:26 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 23 17:20:39 2012 +0300| [94238454983d30f0713da88f65ac23302ffae0a9] | committer: Rémi Denis-Courmont
Qt4: remove non-working stream output wizard TTL field (refs #4322)
In fact, the defaut values in the preferences are better than the
default value in the wizard. If the user really needs to change the
default for IPv4 multicast, (s)he can always save it in the
preferences more permantly.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94238454983d30f0713da88f65ac23302ffae0a9
---
modules/gui/qt4/dialogs/sout.cpp | 3 +--
modules/gui/qt4/ui/sout.ui | 20 --------------------
2 files changed, 1 insertion(+), 22 deletions(-)
diff --git a/modules/gui/qt4/dialogs/sout.cpp b/modules/gui/qt4/dialogs/sout.cpp
index a487a1e..32bba57 100644
--- a/modules/gui/qt4/dialogs/sout.cpp
+++ b/modules/gui/qt4/dialogs/sout.cpp
@@ -84,7 +84,7 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf, const QString&
#define CC( x ) CONNECT( ui.x, currentIndexChanged( int ), this, updateMRL() );
/* Misc */
- CB( soutAll ); CS( ttl ); CT( sapName ); CT( sapGroup );
+ CB( soutAll ); CT( sapName ); CT( sapGroup );
CB( localOutput ); CB( transcodeBox );
CONNECT( ui.profileSelect, optionsChanged(), this, updateMRL() );
@@ -245,7 +245,6 @@ void SoutDialog::updateMRL()
if( ui.soutAll->isChecked() ) mrl.append( " :sout-all" );
- mrl.append( " :ttl=" + QString::number( ui.ttl->value() ) );
mrl.append( " :sout-keep" );
ui.mrlEdit->setPlainText( mrl );
diff --git a/modules/gui/qt4/ui/sout.ui b/modules/gui/qt4/ui/sout.ui
index 33b835f..c08b82c 100644
--- a/modules/gui/qt4/ui/sout.ui
+++ b/modules/gui/qt4/ui/sout.ui
@@ -188,26 +188,6 @@
<item row="1" column="3">
<widget class="QLineEdit" name="sapGroup"/>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="ttlLabel">
- <property name="text">
- <string>Time-To-Live (TTL)</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QSpinBox" name="ttl">
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>255</number>
- </property>
- </widget>
- </item>
</layout>
</widget>
</item>
More information about the vlc-commits
mailing list