]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/extended.cpp
Add v4l2 section in extended pannel. The code isn't v4l2 specific at all so it could...
[vlc] / modules / gui / qt4 / dialogs / extended.cpp
index 085042b9ef88217b929761f976bee13ff3377e16..826f47cdd68719ad5d736692bb7fa563d41d855e 100644 (file)
@@ -58,6 +58,12 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
     ExtVideo *videoEffect = new ExtVideo( p_intf, this );
     mainTab->addTab( videoEffect, qtr( "Video Adjustments and Effects" ) );
 
+    if( module_Exists( p_intf, "v4l2" ) )
+    {
+        ExtV4l2 *v4l2 = new ExtV4l2( p_intf, this );
+        mainTab->addTab( v4l2, qtr( "v4l2 controls" ) );
+    }
+
     layout->addWidget( mainTab, 0, 0, 1, 5 );
 
     QPushButton *closeButton = new QPushButton( qtr( "Close" ) );