Commit 0559d37d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Sout Dialog: add FLV muxer... Some cosmetic changes too.

parent 765497c4
......@@ -86,14 +86,21 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf ) :
CS( vBitrate ); CS( aBitrate ); CS( aChannels ); CC( vScale );
/* Mux */
CB( PSMux ); CB( TSMux ); CB( MPEG1Mux ); CB( OggMux ); CB( ASFMux );
CB( MP4Mux ); CB( MOVMux ); CB( WAVMux ); CB( RAWMux );
CB( MP4Mux ); CB( MOVMux ); CB( WAVMux ); CB( RAWMux ); CB( FLVMux );
/* Misc */
CB( soutAll ); CS( ttl ); CT( sapName ); CT( sapGroup );
CONNECT( ui.fileSelectButton, clicked(), this, fileBrowse() );
BUTTONACT( ui.okButton, ok());
BUTTONACT( ui.cancelButton, cancel());
QPushButton *okButton = new QPushButton( qtr( "&Stream" ) );
QPushButton *cancelButton = new QPushButton( qtr( "&Cancel" ) );
okButton->setDefault( true );
ui.acceptButtonBox->addButton( okButton, QDialogButtonBox::AcceptRole );
ui.acceptButtonBox->addButton( cancelButton, QDialogButtonBox::RejectRole );
BUTTONACT( okButton, ok());
BUTTONACT( cancelButton, cancel());
}
void SoutDialog::fileBrowse()
......@@ -153,6 +160,7 @@ void SoutDialog::updateMRL()
SMUX( MOV, "mov" );
SMUX( WAV, "wav" );
SMUX( RAW, "raw" );
SMUX( FLV, "flv" );
/* Transcode */
pd.b_soverlay = ui.sOverlay->isChecked();
......
......@@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>601</width>
<height>611</height>
<width>660</width>
<height>676</height>
</rect>
</property>
<property name="windowTitle" >
......@@ -107,7 +107,10 @@
<bool>false</bool>
</property>
<property name="text" >
<string>Port</string>
<string>Port:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
......@@ -168,7 +171,10 @@
<bool>false</bool>
</property>
<property name="text" >
<string>Port</string>
<string>Port:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
......@@ -209,7 +215,10 @@
<bool>false</bool>
</property>
<property name="text" >
<string>Port</string>
<string>Port:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
......@@ -355,6 +364,13 @@
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="FLVMux" >
<property name="text" >
<string>FLV</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......@@ -585,6 +601,9 @@
</item>
<item row="1" column="4" >
<widget class="QSpinBox" name="ttl" >
<property name="alignment" >
<set>Qt::AlignRight</set>
</property>
<property name="maximum" >
<number>255</number>
</property>
......@@ -640,8 +659,7 @@
<number>6</number>
</property>
<item>
<widget class="QLineEdit" name="mrlEdit" >
</widget>
<widget class="QLineEdit" name="mrlEdit" />
</item>
</layout>
</widget>
......@@ -668,16 +686,12 @@
</spacer>
</item>
<item>
<widget class="QPushButton" name="cancelButton" >
<property name="text" >
<string>Cancel</string>
<widget class="QDialogButtonBox" name="acceptButtonBox" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="okButton" >
<property name="text" >
<string>OK</string>
<property name="standardButtons" >
<set>QDialogButtonBox::NoButton</set>
</property>
</widget>
</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