[vlc-commits] stream_filters: rar/zip shift up minimal priority

Francois Cartegnie git at videolan.org
Wed Jul 23 06:24:49 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jul 22 13:03:10 2014 +0900| [c3e35d3226089027feedd602ffceefd80778a120] | committer: Francois Cartegnie

stream_filters: rar/zip shift up minimal priority

Allow alternative and lowest priority filters

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

 modules/access/rar/module.c    |    2 +-
 modules/access/zip/zipstream.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/rar/module.c b/modules/access/rar/module.c
index 7ec9ca6..20e6743 100644
--- a/modules/access/rar/module.c
+++ b/modules/access/rar/module.c
@@ -34,6 +34,6 @@ vlc_module_begin()
     set_capability("access", 0)
     set_callbacks(RarAccessOpen, RarAccessClose)
     add_submodule()
-    set_capability("stream_filter", 1)
+    set_capability("stream_filter", 15)
     set_callbacks(RarStreamOpen, RarStreamClose)
 vlc_module_end()
diff --git a/modules/access/zip/zipstream.c b/modules/access/zip/zipstream.c
index 6a340cc..db420a3 100644
--- a/modules/access/zip/zipstream.c
+++ b/modules/access/zip/zipstream.c
@@ -46,7 +46,7 @@ vlc_module_begin()
     set_category( CAT_INPUT )
     set_subcategory( SUBCAT_INPUT_STREAM_FILTER )
     set_description( N_( "Zip files filter" ) )
-    set_capability( "stream_filter", 1 )
+    set_capability( "stream_filter", 15 )
     set_callbacks( StreamOpen, StreamClose )
     add_submodule()
         set_subcategory( SUBCAT_INPUT_ACCESS )



More information about the vlc-commits mailing list