[vlc-devel] "fatal error locking mutex" trying to run libvlc example
rdenis at simphalempin.com
Mon Nov 10 13:46:25 CET 2008
On Sun, 9 Nov 2008 10:11:57 -0700, "Stjepan Rajko"
<stjepan.rajko at gmail.com> wrote:
> The code is a verbatim copy of
> http://wiki.videolan.org/LibVLC_Tutorial, except I changed
> --module-path to be --plugin-path. The line in misc/objects.h (part
> of VLC) that dies is a part of __vlc_custom_create and is simply:
> vlc_mutex_lock( &structure_lock );
> where structure_lock is a static global object that is supposed to be
> initialized earlier in the code:
> if( p_this == NULL )
> vlc_mutex_init( &structure_lock );
This is an impossible error.
structure_lock is initialized in vlc_threads_init() at the very beginning.
Most probably you are mixing two distinct instances of the library in the
More information about the vlc-devel