[vlc-devel] commit: VLM: be sure the input thread has terminated ( Rafaël Carré )

git version control git at videolan.org
Mon Sep 1 15:42:00 CEST 2008


vlc | branch: master | Rafaël Carré <rcarre at m2x.nl> | Mon Sep  1 15:44:48 2008 +0200| [9963d667dd44f41aaaeb6c209ac94f0c79eb0be6] | committer: Rafaël Carré 

VLM: be sure the input thread has terminated

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9963d667dd44f41aaaeb6c209ac94f0c79eb0be6
---

 src/input/vlm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/input/vlm.c b/src/input/vlm.c
index 9397cb0..c0529ae 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -532,6 +532,7 @@ static int vlm_OnMediaUpdate( vlm_t *p_vlm, vlm_media_sys_t *p_media )
                     msleep( 100000 );
 
                 input_StopThread( p_input );
+                vlc_thread_join( p_input );
                 vlc_object_release( p_input );
             }
             free( psz_header );




More information about the vlc-devel mailing list