Commit 8a948e54 authored by Clément Stenac's avatar Clément Stenac

p_libvlc needs b_attached = TRUE for vlc_list_find. Fixes embedded vout

parent eb8b25f7
...@@ -207,7 +207,8 @@ libvlc_int_t * libvlc_InternalCreate( void ) ...@@ -207,7 +207,8 @@ libvlc_int_t * libvlc_InternalCreate( void )
vlc_mutex_init( p_libvlc, &p_libvlc->quicktime_lock ); vlc_mutex_init( p_libvlc, &p_libvlc->quicktime_lock );
vlc_thread_set_priority( p_libvlc, VLC_THREAD_PRIORITY_LOW ); vlc_thread_set_priority( p_libvlc, VLC_THREAD_PRIORITY_LOW );
#endif #endif
/* Fake attachment */
p_libvlc->b_attached = VLC_TRUE;
/* Store data for the non-reentrant API */ /* Store data for the non-reentrant API */
p_static_vlc = p_libvlc; p_static_vlc = p_libvlc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment