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
1fa711ae
Commit
1fa711ae
authored
May 23, 2002
by
Sam Hocevar
Browse files
* ./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
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
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