]> git.sesse.net Git - vlc/commitdiff
control/media_instance.c: Don't forget to stop the thread.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 19 Aug 2007 21:53:24 +0000 (21:53 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 19 Aug 2007 21:53:24 +0000 (21:53 +0000)
src/control/media_instance.c

index 34d33ce2dd3c8345fbc2b9fbc43875bd77d1180f..b2c6a15dfdf84e37db0635559a30ca39cbd6a5e9 100644 (file)
@@ -61,6 +61,7 @@ static void release_input_thread( libvlc_media_instance_t *p_mi )
     if( should_destroy )
     {
         /* We owned this one */
+        input_StopThread( p_input_thread );
         var_Destroy( p_input_thread, "drawable" );
         input_DestroyThread( p_input_thread );
     }