[vlc-devel] vlc: svn commit r20776 (pdherbemont)

Pierre d'Herbemont pdherbemont at free.fr
Tue Jul 10 12:23:18 CEST 2007

Selon Olivier Aubert <olivier.aubert at liris.cnrs.fr>:

> Seems like there still are some locking issues in the media_instance code.

Cool! (not for the locking issue ;) )

Well, again, my bad. I'll attempt a fix tonight. But if you want to try out:

in control/media_instance.c:libvlc_media_instance_release():
(semi diff -u)
+ /* We hold the mutex, as a waiter to make sure pending operations
+  * are finished. We can't hold it longer as the get_input_thread function
+  * holds a lock. */
+ vlc_mutex_unlock( &p_mi->object_lock );
- vlc_mutex_unlock( &p_mi->object_lock );
- vlc_mutex_unlock( &p_mi->object_lock );

Thanks for testing this,

vlc-devel mailing list
vlc-devel at videolan.org

More information about the vlc-devel mailing list