[vlc-commits] ytdl: convert to demux, enable

Rémi Denis-Courmont git at videolan.org
Mon Sep 28 17:09:06 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep 27 17:18:38 2020 +0300| [558eb7868d9c949fcd5f8e896ba7ce5bdf1793fd] | committer: Rémi Denis-Courmont

ytdl: convert to demux, enable

This now runs safely after adaptive, HDS, etc.

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

 modules/demux/ytdl.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/demux/ytdl.c b/modules/demux/ytdl.c
index 0504516abc..52c3a77bd7 100644
--- a/modules/demux/ytdl.c
+++ b/modules/demux/ytdl.c
@@ -294,13 +294,12 @@ static int OpenFilter(vlc_object_t *obj)
 
 vlc_module_begin()
     set_shortname("YT-DL")
-    set_description("YoutubeDL")
+    set_description("YT-DL extractor")
     set_category(CAT_INPUT)
     set_subcategory(SUBCAT_INPUT_STREAM_FILTER)
-    set_capability("stream_filter", 305)
+    set_capability("demux", 5)
     set_callbacks(OpenFilter, Close)
-    /* TODO: convert to demux and enable by default */
-    add_bool("ytdl", false, N_("Enable YT-DL"), N_("Enable YT-DL"), true)
+    add_bool("ytdl", true, N_("Enable YT-DL"), N_("Enable YT-DL"), true)
         change_safe()
 
     add_submodule()



More information about the vlc-commits mailing list