[vlc-commits] sd: force playlist node deletion

Pierre Ynard git at videolan.org
Thu Nov 17 19:09:51 CET 2016


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Thu Nov 17 06:59:51 2016 +0100| [a21d87cdd0c89b8ec36038fac63234221b5b43e0] | 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=a21d87cdd0c89b8ec36038fac63234221b5b43e0
---

 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