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

Felix Paul Kühne git at videolan.org
Wed Oct 21 19:10:12 CEST 2015


vlc/vlc-2.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Sep 10 13:40:26 2015 +0200| [133198d34b95c86164487412bf92ccbcd0f8f77e] | committer: Jean-Baptiste Kempf

libvlc media list player: attach observer after player instance creation

(cherry picked from commit 6a23d2cd782096110fc32a074d1083a5452fa38b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=133198d34b95c86164487412bf92ccbcd0f8f77e
---

 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 9ac935a..96f580e 100644
--- a/lib/media_list_player.c
+++ b/lib/media_list_player.c
@@ -464,6 +464,7 @@ libvlc_media_list_player_new(libvlc_instance_t * p_instance)
         free (p_mlp);
         return NULL;
     }
+    install_media_player_observer(p_mlp);
 
     libvlc_retain(p_instance);
     p_mlp->p_libvlc_instance = p_instance;



More information about the vlc-commits mailing list