[vlc-commits] playlist: fix item parenting regression

Rémi Denis-Courmont git at videolan.org
Wed Nov 16 16:51:39 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Nov 16 17:51:27 2016 +0200| [8c8e84144181f678e23437a139c2b5b99bb8d978] | committer: Rémi Denis-Courmont

playlist: fix item parenting regression

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

 src/playlist/services_discovery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/playlist/services_discovery.c b/src/playlist/services_discovery.c
index a360f73..69de1f2 100644
--- a/src/playlist/services_discovery.c
+++ b/src/playlist/services_discovery.c
@@ -181,7 +181,7 @@ static void playlist_sd_item_added(services_discovery_t *sd,
                                          NULL);
     }
 
-    playlist_NodeAddInput(playlist, p_input, sds->node,
+    playlist_NodeAddInput(playlist, p_input, parent,
                           PLAYLIST_APPEND, PLAYLIST_END, pl_Locked);
     playlist_Unlock(playlist);
 }



More information about the vlc-commits mailing list