Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
bab3d856
Commit
bab3d856
authored
Mar 14, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: try to debug and solve the dshow-vdev issue.
parent
4346bf2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+3
-3
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+5
-1
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
bab3d856
...
@@ -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
()
);
...
...
modules/gui/qt4/dialogs/open.cpp
View file @
bab3d856
...
@@ -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
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment