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
08b960e8
Commit
08b960e8
authored
Nov 03, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/dshow/dshow.cpp: fixed initialization bug.
parent
5e909857
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+3
-2
No files found.
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,
...
@@ -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_capture_graph_builder2
=
NULL
;
p_sys
->
p_control
=
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 */
/* Build directshow graph */
CreateDirectShowGraph
(
p_sys
);
CreateDirectShowGraph
(
p_sys
);
...
@@ -413,8 +416,6 @@ static int CommonOpen( vlc_object_t *p_this, access_sys_t *p_sys,
...
@@ -413,8 +416,6 @@ static int CommonOpen( vlc_object_t *p_this, access_sys_t *p_sys,
/* Initialize some data */
/* Initialize some data */
p_sys
->
i_current_stream
=
0
;
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
;
if
(
!
p_sys
->
i_streams
)
return
VLC_EGENERIC
;
...
...
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