Commit 6a23d2cd authored by Felix Paul Kühne's avatar Felix Paul Kühne

libvlc media list player: attach observer after player instance creation

parent 1d69a9c6
...@@ -495,6 +495,7 @@ libvlc_media_list_player_new(libvlc_instance_t * p_instance) ...@@ -495,6 +495,7 @@ libvlc_media_list_player_new(libvlc_instance_t * p_instance)
libvlc_event_manager_release(p_mlp->p_event_manager); libvlc_event_manager_release(p_mlp->p_event_manager);
goto error; goto error;
} }
install_media_player_observer(p_mlp);
if (vlc_clone(&p_mlp->thread, playlist_thread, p_mlp, if (vlc_clone(&p_mlp->thread, playlist_thread, p_mlp,
VLC_THREAD_PRIORITY_LOW)) VLC_THREAD_PRIORITY_LOW))
......
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