[vlc-devel] [PATCH 11/40] sd: do not set skip flag on category

RĂ©mi Denis-Courmont remi at remlab.net
Sun May 14 17:45:41 CEST 2017


It is questionable why playback should stop on category boundary.
Regardless:
1) Categories have been deprecated for a long time.
2) Categories are only used by "infinite" stream SD plugins
   (SAP and Pulse), for which the skip flag is irrelevant.
So it can be removed.
---
 src/playlist/services_discovery.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/playlist/services_discovery.c b/src/playlist/services_discovery.c
index cdcfa81cf6..fb3523e9d0 100644
--- a/src/playlist/services_discovery.c
+++ b/src/playlist/services_discovery.c
@@ -63,8 +63,7 @@ static void playlist_sd_item_added(services_discovery_t *sd,
         parent = playlist_ChildSearchName(sds->node, psz_cat);
         if (parent == NULL)
             parent = playlist_NodeCreate(playlist, psz_cat, sds->node,
-                                         PLAYLIST_END,
-                                         PLAYLIST_RO_FLAG|PLAYLIST_SKIP_FLAG);
+                                         PLAYLIST_END, PLAYLIST_RO_FLAG);
     }
 
     playlist_NodeAddInput(playlist, p_input, parent, 0, PLAYLIST_END);
-- 
2.11.0



More information about the vlc-devel mailing list