[vlc-commits] sd: force playlist node deletion

Pierre Ynard via vlc-devel git at videolan.org
Thu Nov 17 19:08:34 CET 2016


vlc | branch: master | Pierre Ynard via vlc-devel <vlc-devel at videolan.org> | Thu Nov 17 06:59:51 2016 +0100| [095299078ec04a4fba8a4c493b0cc8b55129830e] | committer: Rémi Denis-Courmont

sd: force playlist node deletion

It is necessary because nodes are created with the RO flag.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 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 6009348..650fc20 100644
--- a/src/playlist/services_discovery.c
+++ b/src/playlist/services_discovery.c
@@ -255,7 +255,7 @@ static void playlist_ServicesDiscoveryInternalRemove(playlist_t *playlist,
     /* Remove the sd playlist node if it exists */
     playlist_Lock(playlist);
     if (sds->node != NULL)
-        playlist_NodeDelete(playlist, sds->node, false);
+        playlist_NodeDelete(playlist, sds->node, true);
     playlist_Unlock(playlist);
 
     free(sds);



More information about the vlc-commits mailing list