[vlc-devel] commit: RTP: priority zero - do not load the module needlessly ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Aug 20 21:17:49 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Aug 20 22:19:37 2008 +0300| [a87c0c15406c9a1ee5d08bc956d7ebcd071a0b29] | committer: Rémi Denis-Courmont 

RTP: priority zero - do not load the module needlessly

There is no point in loading the RTP access_demux if the MRL scheme
is not explicitly supported - it would fail in Open anyway.

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

 modules/demux/rtp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/rtp.c b/modules/demux/rtp.c
index ee99286..e9f9841 100644
--- a/modules/demux/rtp.c
+++ b/modules/demux/rtp.c
@@ -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,




More information about the vlc-devel mailing list