Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
fbd86409
Commit
fbd86409
authored
Jul 17, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout: Make sure vout_Close() has been called before the object destruction.
parent
d926bc98
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/video_output/video_output.c
src/video_output/video_output.c
+4
-0
No files found.
src/video_output/video_output.c
View file @
fbd86409
...
...
@@ -463,6 +463,7 @@ void vout_Close( vout_thread_t *p_vout )
vlc_object_kill
(
p_vout
);
vlc_thread_join
(
p_vout
);
module_Unneed
(
p_vout
,
p_vout
->
p_module
);
p_vout
->
p_module
=
NULL
;
}
/* */
...
...
@@ -470,6 +471,9 @@ static void vout_Destructor( vlc_object_t * p_this )
{
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
/* Make sure the vout was stopped first */
assert
(
!
p_vout
->
p_module
);
/* Destroy the locks */
vlc_mutex_destroy
(
&
p_vout
->
picture_lock
);
vlc_mutex_destroy
(
&
p_vout
->
change_lock
);
...
...
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