[vlc-devel] commit: Do not try rtmp access unless requested ( as all other network modules). (Laurent Aimar )

git version control git at videolan.org
Tue Aug 19 22:34:18 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Aug 19 22:35:08 2008 +0200| [0d65e1f8019f44741d1dc56289831d5b2560b0e2] | committer: Laurent Aimar 

Do not try rtmp access unless requested (as all other network modules).

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

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

diff --git a/modules/access/rtmp/access.c b/modules/access/rtmp/access.c
index 2c0b323..c0bf347 100644
--- a/modules/access/rtmp/access.c
+++ b/modules/access/rtmp/access.c
@@ -57,7 +57,7 @@ vlc_module_begin();
     add_integer( "rtmp-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT,
                  CACHING_LONGTEXT, true );
 
-    set_capability( "access", 10 );
+    set_capability( "access", 0 );
     set_callbacks( Open, Close );
     add_shortcut( "rtmp" );
 vlc_module_end();




More information about the vlc-devel mailing list