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