[vlc-commits] libvlc media list player: attach observer after player instance creation

Felix Paul Kühne git at videolan.org
Thu Sep 10 17:15:32 CEST 2015


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Sep 10 13:40:26 2015 +0200| [6a23d2cd782096110fc32a074d1083a5452fa38b] | committer: Felix Paul Kühne

libvlc media list player: attach observer after player instance creation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a23d2cd782096110fc32a074d1083a5452fa38b
---

 lib/media_list_player.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/media_list_player.c b/lib/media_list_player.c
index e6119ea..44f75a0 100644
--- a/lib/media_list_player.c
+++ b/lib/media_list_player.c
@@ -495,6 +495,7 @@ libvlc_media_list_player_new(libvlc_instance_t * p_instance)
         libvlc_event_manager_release(p_mlp->p_event_manager);
         goto error;
     }
+    install_media_player_observer(p_mlp);
 
     if (vlc_clone(&p_mlp->thread, playlist_thread, p_mlp,
                   VLC_THREAD_PRIORITY_LOW))



More information about the vlc-commits mailing list