Commit bab3d856 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: try to debug and solve the dshow-vdev issue.

parent 4346bf2f
...@@ -1057,8 +1057,8 @@ void CaptureOpenPanel::updateMRL() ...@@ -1057,8 +1057,8 @@ void CaptureOpenPanel::updateMRL()
break; break;
case DSHOW_DEVICE: case DSHOW_DEVICE:
fileList << "dshow://"; fileList << "dshow://";
mrl+= " :dshow-vdev=" + QString("\"%1\"").arg( vdevDshowW->getValue() ); mrl+= " :dshow-vdev=" + QString("%1").arg( vdevDshowW->getValue() );
mrl+= " :dshow-adev=" + QString("\"%1\"").arg( adevDshowW->getValue() ); mrl+= " :dshow-adev=" + QString("%1").arg( adevDshowW->getValue() );
if( dshowVSizeLine->isModified() ) if( dshowVSizeLine->isModified() )
mrl += " :dshow-size=" + dshowVSizeLine->text(); mrl += " :dshow-size=" + dshowVSizeLine->text();
break; break;
...@@ -1252,7 +1252,7 @@ void CaptureOpenPanel::advancedDialog() ...@@ -1252,7 +1252,7 @@ void CaptureOpenPanel::advancedDialog()
case CONFIG_ITEM_FILE: case CONFIG_ITEM_FILE:
case CONFIG_ITEM_DIRECTORY: case CONFIG_ITEM_DIRECTORY:
case CONFIG_ITEM_MODULE: case CONFIG_ITEM_MODULE:
tempMRL += QString("=\"%1\"").arg( qobject_cast<VStringConfigControl *>(control)->getValue() ); tempMRL += QString("=%1").arg( qobject_cast<VStringConfigControl *>(control)->getValue() );
break; break;
case CONFIG_ITEM_INTEGER: case CONFIG_ITEM_INTEGER:
tempMRL += QString("=%1").arg( qobject_cast<VIntConfigControl *>(control)->getValue() ); tempMRL += QString("=%1").arg( qobject_cast<VIntConfigControl *>(control)->getValue() );
......
...@@ -36,6 +36,8 @@ ...@@ -36,6 +36,8 @@
#include <QRegExp> #include <QRegExp>
#include <QMenu> #include <QMenu>
#define DEBUG_QT 1
OpenDialog *OpenDialog::instance = NULL; OpenDialog *OpenDialog::instance = NULL;
OpenDialog* OpenDialog::getInstance( QWidget *parent, intf_thread_t *p_intf, OpenDialog* OpenDialog::getInstance( QWidget *parent, intf_thread_t *p_intf,
...@@ -359,7 +361,9 @@ void OpenDialog::finish( bool b_enqueue = false ) ...@@ -359,7 +361,9 @@ void OpenDialog::finish( bool b_enqueue = false )
if( !qs.isEmpty() ) if( !qs.isEmpty() )
{ {
input_item_AddOption( p_input, qtu( qs ), VLC_INPUT_OPTION_TRUSTED ); input_item_AddOption( p_input, qtu( qs ), VLC_INPUT_OPTION_TRUSTED );
// msg_Err( p_intf, "Here %s", qtu( qs )); #ifdef DEBUG_QT
msg_Warn( p_intf, "Input option: %s", qtu( qs ) );
#endif
} }
} }
} }
......
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