Commit 206223e2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Open Capture: remove unuseful debug and use different numbers.

parent 6275b728
......@@ -795,14 +795,12 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
/**********
* Screen *
**********/
addModuleAndLayouts( SCREEN_DEVICE, screen, "Desktop" );
QLabel *screenLabel = new QLabel( "This option will open your own "
"desktop in order to save or stream it.");
screenLabel->setWordWrap( true );
screenDevLayout->addWidget( screenLabel, 0, 0 );
/* General connects */
connect( ui.deviceCombo, SIGNAL( activated( int ) ),
stackedDevLayout, SLOT( setCurrentIndex( int ) ) );
......@@ -825,7 +823,6 @@ void CaptureOpenPanel::updateMRL()
QString mrl = "";
int i_devicetype = ui.deviceCombo->itemData(
ui.deviceCombo->currentIndex() ).toInt();
msg_Dbg( p_intf, "Capture Type: %i", i_devicetype );
switch( i_devicetype )
{
case V4L_DEVICE:
......
......@@ -44,13 +44,13 @@
#define setSpinBoxFreq( spinbox ){ spinbox->setRange ( 0, INT_MAX ); \
spinbox->setAccelerated( true ); }
#define V4L_DEVICE 0x0
#define PVR_DEVICE 0x1
#define DVB_DEVICE 0x2
#define BDA_DEVICE 0x4
#define DSHOW_DEVICE 0x8
#define SCREEN_DEVICE 0x16
#define JACK_DEVICE 0x32
#define V4L_DEVICE 0
#define PVR_DEVICE 1
#define DVB_DEVICE 2
#define BDA_DEVICE 3
#define DSHOW_DEVICE 4
#define SCREEN_DEVICE 5
#define JACK_DEVICE 6
class QWidget;
class QLineEdit;
......
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