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
08b960e8
Commit
08b960e8
authored
Nov 03, 2004
by
gbazin
Browse files
* modules/access/dshow/dshow.cpp: fixed initialization bug.
parent
5e909857
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/dshow/dshow.cpp
View file @
08b960e8
...
...
@@ -315,6 +315,9 @@ static int CommonOpen( vlc_object_t *p_this, access_sys_t *p_sys,
p_sys
->
p_capture_graph_builder2
=
NULL
;
p_sys
->
p_control
=
NULL
;
vlc_mutex_init
(
p_this
,
&
p_sys
->
lock
);
vlc_cond_init
(
p_this
,
&
p_sys
->
wait
);
/* Build directshow graph */
CreateDirectShowGraph
(
p_sys
);
...
...
@@ -413,8 +416,6 @@ static int CommonOpen( vlc_object_t *p_this, access_sys_t *p_sys,
/* Initialize some data */
p_sys
->
i_current_stream
=
0
;
vlc_mutex_init
(
p_this
,
&
p_sys
->
lock
);
vlc_cond_init
(
p_this
,
&
p_sys
->
wait
);
if
(
!
p_sys
->
i_streams
)
return
VLC_EGENERIC
;
...
...
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