[vlc-devel] commit: Qt: Provide a clean way to not transcode in Sout dialog. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Mar 16 01:11:13 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Mar 16 01:10:55 2009 +0100| [02abb732f80e3dd24ec8e0ab751d6b11f12102dd] | committer: Jean-Baptiste Kempf
Qt: Provide a clean way to not transcode in Sout dialog.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02abb732f80e3dd24ec8e0ab751d6b11f12102dd
---
modules/gui/qt4/dialogs/sout.cpp | 2 +-
modules/gui/qt4/ui/sout.ui | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/dialogs/sout.cpp b/modules/gui/qt4/dialogs/sout.cpp
index ad41a9b..d900e77 100644
--- a/modules/gui/qt4/dialogs/sout.cpp
+++ b/modules/gui/qt4/dialogs/sout.cpp
@@ -200,7 +200,7 @@ void SoutDialog::updateMRL()
QString qs_mux = ui.profileSelect->getMux();
SoutMrl smrl( ":sout=#" );
- if( !ui.profileSelect->getTranscode().isEmpty() )
+ if( !ui.profileSelect->getTranscode().isEmpty() && ui.transcodeBox->isChecked() )
{
smrl.begin( ui.profileSelect->getTranscode() );
smrl.end();
diff --git a/modules/gui/qt4/ui/sout.ui b/modules/gui/qt4/ui/sout.ui
index 6dc9221..fb7d8f9 100644
--- a/modules/gui/qt4/ui/sout.ui
+++ b/modules/gui/qt4/ui/sout.ui
@@ -212,9 +212,19 @@
<string>_("Transcoding options")</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
- <item row="0" column="0">
+ <item row="1" column="0">
<widget class="VLCProfileSelector" name="profileSelect" native="true"/>
</item>
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="transcodeBox">
+ <property name="text">
+ <string>_("Activate Transcoding")</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>
More information about the vlc-devel
mailing list