Commit 5b779465 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Avformat: split the options from demux and mux in sections

parent d5ff0152
...@@ -42,6 +42,7 @@ vlc_module_begin () ...@@ -42,6 +42,7 @@ vlc_module_begin ()
set_shortname( N_("Avformat") ) set_shortname( N_("Avformat") )
set_capability( "demux", 2 ) set_capability( "demux", 2 )
set_callbacks( OpenDemux, CloseDemux ) set_callbacks( OpenDemux, CloseDemux )
set_section( N_("Demuxer"), NULL )
add_string( "avformat-format", NULL, FORMAT_TEXT, FORMAT_LONGTEXT, true ) add_string( "avformat-format", NULL, FORMAT_TEXT, FORMAT_LONGTEXT, true )
add_obsolete_string("ffmpeg-format") /* removed since 2.1.0 */ add_obsolete_string("ffmpeg-format") /* removed since 2.1.0 */
#if LIBAVFORMAT_VERSION_INT >= ((53<<16)+(26<<8)+0) #if LIBAVFORMAT_VERSION_INT >= ((53<<16)+(26<<8)+0)
...@@ -54,6 +55,7 @@ vlc_module_begin () ...@@ -54,6 +55,7 @@ vlc_module_begin ()
add_shortcut( "ffmpeg", "avformat" ) add_shortcut( "ffmpeg", "avformat" )
set_description( N_("Avformat muxer" ) ) set_description( N_("Avformat muxer" ) )
set_capability( "sout mux", 2 ) set_capability( "sout mux", 2 )
set_section( N_("Muxer"), NULL )
add_string( "sout-avformat-mux", NULL, MUX_TEXT, MUX_LONGTEXT, true ) add_string( "sout-avformat-mux", NULL, MUX_TEXT, MUX_LONGTEXT, true )
add_obsolete_string("ffmpeg-mux") /* removed since 2.1.0 */ add_obsolete_string("ffmpeg-mux") /* removed since 2.1.0 */
add_string( "sout-avformat-options", NULL, AV_OPTIONS_TEXT, AV_OPTIONS_LONGTEXT, true ) add_string( "sout-avformat-options", NULL, AV_OPTIONS_TEXT, AV_OPTIONS_LONGTEXT, true )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment