[vlc-commits] access_demux: increase priority by 300

Rémi Denis-Courmont git at videolan.org
Mon Feb 26 21:39:06 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 26 22:35:53 2018 +0200| [7302fe9d256b2bac816319b718974ae990e03b20] | committer: Rémi Denis-Courmont

access_demux: increase priority by 300

For the time being, access_demux modules should have a higher priority
than access modules, so that order is maintained if/when the two
capabilities are merged. The highest access module priority is below
300 as of now.

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

 modules/access/bluray.c    | 2 +-
 modules/access/dvdnav.c    | 2 +-
 modules/access/live555.cpp | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 4cf1a67b3e..126acb7d44 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -94,7 +94,7 @@ vlc_module_begin ()
 
     set_category(CAT_INPUT)
     set_subcategory(SUBCAT_INPUT_ACCESS)
-    set_capability("access_demux", 200)
+    set_capability("access_demux", 500)
     add_bool("bluray-menu", true, BD_MENU_TEXT, BD_MENU_LONGTEXT, false)
     add_string("bluray-region", ppsz_region_code[REGION_DEFAULT], BD_REGION_TEXT, BD_REGION_LONGTEXT, false)
         change_string_list(ppsz_region_code, ppsz_region_code_text)
diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index aacdd9cc38..d2f6d51260 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -94,7 +94,7 @@ vlc_module_begin ()
         ANGLE_LONGTEXT, false )
     add_bool( "dvdnav-menu", true,
         MENU_TEXT, MENU_LONGTEXT, false )
-    set_capability( "access_demux", 5 )
+    set_capability( "access_demux", 305 )
     add_shortcut( "dvd", "dvdnav", "file" )
     set_callbacks( AccessDemuxOpen, Close )
 #ifdef HAVE_DVDNAV_DEMUX
diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index 36c2499167..e7b7a83090 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -104,7 +104,7 @@ vlc_module_begin ()
     add_submodule ()
         set_description( N_("RTSP/RTP access and demux") )
         add_shortcut( "rtsp", "pnm", "live", "livedotcom" )
-        set_capability( "access_demux", 0 )
+        set_capability( "access_demux", 300 )
         set_callbacks( Open, Close )
         add_bool( "rtsp-tcp", false,
                   N_("Use RTP over RTSP (TCP)"),



More information about the vlc-commits mailing list