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
1fa711ae
Commit
1fa711ae
authored
May 23, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./src/video_output/video_output.c: the video output thread was never
joined! A pretty old bug...
parent
54e1790b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
src/video_output/video_output.c
src/video_output/video_output.c
+5
-12
No files found.
src/video_output/video_output.c
View file @
1fa711ae
...
...
@@ -5,7 +5,7 @@
* thread, and destroy a previously oppened video output thread.
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: video_output.c,v 1.17
7 2002/05/19 23:51:37 massiot
Exp $
* $Id: video_output.c,v 1.17
8 2002/05/23 22:21:14 sam
Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
*
...
...
@@ -253,16 +253,11 @@ void vout_DestroyThread( vout_thread_t *p_vout, int *pi_status )
/* Request thread destruction */
p_vout
->
b_die
=
1
;
/* only if pi_status is NULL */
vlc_thread_join
(
p_vout
->
thread_id
);
/* If status is NULL, wait until thread has been destroyed */
if
(
pi_status
==
NULL
)
{
do
{
msleep
(
THREAD_SLEEP
);
}
while
(
(
i_status
!=
THREAD_OVER
)
&&
(
i_status
!=
THREAD_ERROR
)
&&
(
i_status
!=
THREAD_FATAL
)
);
}
/* Free structure */
free
(
p_vout
);
}
/*****************************************************************************
...
...
@@ -831,8 +826,6 @@ static void DestroyThread( vout_thread_t *p_vout, int i_status )
/* Release the module */
module_Unneed
(
p_vout
->
p_module
);
/* Free structure */
free
(
p_vout
);
*
pi_status
=
i_status
;
}
...
...
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