Commit 02abb732 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Provide a clean way to not transcode in Sout dialog.

parent 15a6423d
...@@ -200,7 +200,7 @@ void SoutDialog::updateMRL() ...@@ -200,7 +200,7 @@ void SoutDialog::updateMRL()
QString qs_mux = ui.profileSelect->getMux(); QString qs_mux = ui.profileSelect->getMux();
SoutMrl smrl( ":sout=#" ); SoutMrl smrl( ":sout=#" );
if( !ui.profileSelect->getTranscode().isEmpty() ) if( !ui.profileSelect->getTranscode().isEmpty() && ui.transcodeBox->isChecked() )
{ {
smrl.begin( ui.profileSelect->getTranscode() ); smrl.begin( ui.profileSelect->getTranscode() );
smrl.end(); smrl.end();
......
...@@ -212,9 +212,19 @@ ...@@ -212,9 +212,19 @@
<string>_(&quot;Transcoding options&quot;)</string> <string>_(&quot;Transcoding options&quot;)</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_5"> <layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0"> <item row="1" column="0">
<widget class="VLCProfileSelector" name="profileSelect" native="true"/> <widget class="VLCProfileSelector" name="profileSelect" native="true"/>
</item> </item>
<item row="0" column="0">
<widget class="QCheckBox" name="transcodeBox">
<property name="text">
<string>_(&quot;Activate Transcoding&quot;)</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment