Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
0f1bed44
Commit
0f1bed44
authored
Jun 09, 2006
by
dionoea
Browse files
Dshow input fix (suggest by "sneeze" on
http://forum.videolan.org/viewtopic.php?t=21578
, Thanks).
parent
1f1c0508
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/dshow/dshow.cpp
View file @
0f1bed44
...
...
@@ -477,16 +477,16 @@ static int CommonOpen( vlc_object_t *p_this, access_sys_t *p_sys,
for
(
i
=
p_sys
->
i_crossbar_route_depth
-
1
;
i
>=
0
;
--
i
)
{
var_Get
(
p_this
,
"dshow-video-input"
,
&
val
);
if
(
val
.
i_int
>
0
)
if
(
val
.
i_int
>
=
0
)
p_sys
->
crossbar_routes
[
i
].
VideoInputIndex
=
val
.
i_int
;
var_Get
(
p_this
,
"dshow-video-output"
,
&
val
);
if
(
val
.
i_int
>
0
)
if
(
val
.
i_int
>
=
0
)
p_sys
->
crossbar_routes
[
i
].
VideoOutputIndex
=
val
.
i_int
;
var_Get
(
p_this
,
"dshow-audio-input"
,
&
val
);
if
(
val
.
i_int
>
0
)
if
(
val
.
i_int
>
=
0
)
p_sys
->
crossbar_routes
[
i
].
AudioInputIndex
=
val
.
i_int
;
var_Get
(
p_this
,
"dshow-audio-output"
,
&
val
);
if
(
val
.
i_int
>
0
)
if
(
val
.
i_int
>
=
0
)
p_sys
->
crossbar_routes
[
i
].
AudioOutputIndex
=
val
.
i_int
;
IAMCrossbar
*
pXbar
=
p_sys
->
crossbar_routes
[
i
].
pXbar
;
...
...
Write
Preview
Supports
Markdown
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