[vlc-devel] commit: libvlc: Fix media_player stop. (Pierre d'Herbemont )

git version control git at videolan.org
Wed Aug 20 21:52:55 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Aug 20 21:55:45 2008 +0200| [8c5670d220a759d3da2be7a259b028559b9ca698] | committer: Pierre d'Herbemont 

libvlc: Fix media_player stop.

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

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

diff --git a/src/control/media_player.c b/src/control/media_player.c
index a52fa0c..a90d177 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -97,6 +97,7 @@ static void release_input_thread( libvlc_media_player_t *p_mi )
 
         /* We owned this one */
         input_StopThread( p_input_thread );
+        vlc_thread_join( p_input_thread );
 
         var_Destroy( p_input_thread, "drawable" );
     }




More information about the vlc-devel mailing list