control/media_instance.c: Ignore the exception raised by libvlc_get_input_thread...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 11 Aug 2007 12:10:25 +0000 (12:10 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 11 Aug 2007 12:10:25 +0000 (12:10 +0000)
src/control/media_instance.c

index 9baa0f4..d350e29 100644 (file)
@@ -388,6 +388,9 @@ void libvlc_media_instance_play( libvlc_media_instance_t *p_mi,
         return;
     }
 
+    /* Ignore previous exception */
+    libvlc_exception_clear( p_e );
+
     vlc_mutex_lock( &p_mi->object_lock );
     
     if( !p_mi->p_md )