[vlc-devel] [PATCH] AVI : Set libavformat as the default AVI muxer.
Jai Menon
jmenon86 at gmail.com
Sun Jun 13 11:49:50 CEST 2010
---
modules/demux/avformat/avformat.c | 1 +
modules/mux/avi.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/demux/avformat/avformat.c b/modules/demux/avformat/avformat.c
index b5974a4..70721ba 100644
--- a/modules/demux/avformat/avformat.c
+++ b/modules/demux/avformat/avformat.c
@@ -50,6 +50,7 @@ vlc_module_begin ()
set_capability( "sout mux", 2 )
add_string( "ffmpeg-mux", NULL, NULL, MUX_TEXT,
MUX_LONGTEXT, true )
+ add_shortcut( "avi" )
set_callbacks( OpenMux, CloseMux )
#endif
#ifndef MERGE_FFMPEG
diff --git a/modules/mux/avi.c b/modules/mux/avi.c
index 0d2c4b6..8ae5a50 100644
--- a/modules/mux/avi.c
+++ b/modules/mux/avi.c
@@ -47,7 +47,7 @@ vlc_module_begin ()
set_description( N_("AVI muxer") )
set_category( CAT_SOUT )
set_subcategory( SUBCAT_SOUT_MUX )
- set_capability( "sout mux", 5 )
+ set_capability( "sout mux", 1 )
add_shortcut( "avi" )
set_callbacks( Open, Close )
vlc_module_end ()
--
1.7.1
More information about the vlc-devel
mailing list