[vlc-devel] [PATCH] sd: force playlist node deletion
    Pierre Ynard 
    linkfanel at yahoo.fr
       
    Thu Nov 17 06:59:51 CET 2016
    
    
  
It is necessary because nodes are created with the RO flag.
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);
-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
    
    
More information about the vlc-devel
mailing list