[vlc-devel] [PATCH] sd: remove -S/--services-discovery option

Romain Vimont rom1v at videolabs.io
Thu Apr 15 13:22:48 UTC 2021


In the old playlist, services discoveries were added as special nodes,
child of the root playlist node. The option -S/--services-discovery
gave the possibility to add some of these services discoveries nodes to
the playlist on start.

Now, all the media sources are available via the media source
API. There are listed in the Qt views (depending on their category).

As a consequence, this option is now meaningless. Remove it.

Fixes #24592
---
 src/libvlc-module.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 8050b2eea1..a569f41b62 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -2206,10 +2206,6 @@ vlc_module_begin ()
               "Flatten files listed by extractors (archive)", NULL, true )
         change_volatile()
 
-    set_subcategory( SUBCAT_PLAYLIST_SD )
-    add_string( "services-discovery", "", SD_TEXT, SD_LONGTEXT, true )
-        change_short('S')
-
 /* Interface options */
     set_category( CAT_INTERFACE )
     set_subcategory( SUBCAT_INTERFACE_GENERAL )
-- 
2.31.0



More information about the vlc-devel mailing list