]> git.sesse.net Git - vlc/commitdiff
RTP: priority zero - do not load the module needlessly
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Wed, 20 Aug 2008 19:19:37 +0000 (22:19 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Wed, 20 Aug 2008 19:19:37 +0000 (22:19 +0300)
There is no point in loading the RTP access_demux if the MRL scheme
is not explicitly supported - it would fail in Open anyway.

modules/demux/rtp.c

index ee99286a276e272fc76e1d584cb45da996c4c45b..e9f98412fe84f0d16a7699f8181bea8881d7e0ff 100644 (file)
@@ -83,7 +83,7 @@ vlc_module_begin ();
     set_description (_("(Experimental) Real-Time Protocol demuxer"));
     set_category (CAT_INPUT);
     set_subcategory (SUBCAT_INPUT_DEMUX);
-    set_capability ("access_demux", 10);
+    set_capability ("access_demux", 0);
     set_callbacks (Open, Close);
 
     add_integer ("rtp-caching", 1000, NULL, RTP_CACHING_TEXT,