]> git.sesse.net Git - vlc/commitdiff
Qt4 - Sout: add a file mask on the known muxers.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 6 Sep 2007 12:18:58 +0000 (12:18 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 6 Sep 2007 12:18:58 +0000 (12:18 +0000)
patch by Jean-François Massol

modules/gui/qt4/dialogs/sout.cpp

index abf6c3ff1d1ab18b6464fc797dcb4274861c30cf..7601d23d4c36de2a1c155b876faf49f97c32f173 100644 (file)
@@ -132,8 +132,9 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf,
 void SoutDialog::fileBrowse()
 {
     ui.tabWidget->setTabEnabled( 0,false );
-    QString f = QFileDialog::getOpenFileName( this, qtr( "Save file" ), "", "" );
-    ui.fileEdit->setText( f );
+    QString fileName = QFileDialog::getOpenFileName( this, qtr( "Save file" ), "",
+        qtr( "Containers (*.ps *.ts *.mpg *.ogg *.asf *.mp4 *.mov *.wav *.raw *.flv)" ) );
+    ui.fileEdit->setText( fileName );
     updateMRL();
 }