Change demux2 capability values so the lua demux2 gets called as a last resort (2...
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 16 Dec 2007 20:38:14 +0000 (20:38 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 16 Dec 2007 20:38:14 +0000 (20:38 +0000)
modules/demux/cdg.c
modules/demux/nsc.c
modules/demux/rawdv.c
modules/misc/lua/vlc.c

index bb971aa..b67af9b 100644 (file)
@@ -40,7 +40,7 @@ vlc_module_begin();
     set_description( _("CDG demuxer") );
     set_category( CAT_INPUT );
     set_subcategory( SUBCAT_INPUT_DEMUX );
-    set_capability( "demux2", 2 );
+    set_capability( "demux2", 3 );
     set_callbacks( Open, Close );
     add_shortcut( "cdg" );
     add_shortcut( "subtitle" );
index 509728c..ca9ec9d 100644 (file)
@@ -42,7 +42,7 @@ vlc_module_begin();
     set_description( _("Windows Media NSC metademux") );
     set_category( CAT_INPUT );
     set_subcategory( SUBCAT_INPUT_DEMUX );
-    set_capability( "demux2", 2 );
+    set_capability( "demux2", 3 );
     set_callbacks( DemuxOpen, DemuxClose );
 vlc_module_end();
 
index f08ea42..1965dc1 100644 (file)
@@ -42,7 +42,7 @@ static void Close( vlc_object_t * );
 vlc_module_begin();
     set_shortname( "DV" );
     set_description( _("DV (Digital Video) demuxer") );
-    set_capability( "demux2", 2 );
+    set_capability( "demux2", 3 );
     set_category( CAT_INPUT );
     set_subcategory( SUBCAT_INPUT_DEMUX );
     add_bool( "rawdv-hurry-up", 0, NULL, HURRYUP_TEXT, HURRYUP_LONGTEXT, VLC_FALSE );
index 634f21c..fa686a6 100644 (file)
@@ -68,7 +68,7 @@ vlc_module_begin();
         set_subcategory( SUBCAT_INPUT_DEMUX );
         set_shortname( _("Lua Playlist") );
         set_description( _("Lua Playlist Parser Interface") );
-        set_capability( "demux2", 9 );
+        set_capability( "demux2", 2 );
         set_callbacks( E_(Import_LuaPlaylist), E_(Close_LuaPlaylist) );
     add_submodule();
         add_shortcut( "luaintf" );