Commit 7a0f1546 authored by Laurent Aimar's avatar Laurent Aimar

Added files/declarations for stream_filter module.

parent ff3eac1d
...@@ -5860,6 +5860,7 @@ AC_CONFIG_FILES([ ...@@ -5860,6 +5860,7 @@ AC_CONFIG_FILES([
modules/mux/mpeg/Makefile modules/mux/mpeg/Makefile
modules/packetizer/Makefile modules/packetizer/Makefile
modules/services_discovery/Makefile modules/services_discovery/Makefile
modules/stream_filter/Makefile
modules/stream_out/Makefile modules/stream_out/Makefile
modules/stream_out/transrate/Makefile modules/stream_out/transrate/Makefile
modules/video_chroma/Makefile modules/video_chroma/Makefile
......
...@@ -112,6 +112,12 @@ ...@@ -112,6 +112,12 @@
"the input side of VLC. You should not touch anything here unless you " \ "the input side of VLC. You should not touch anything here unless you " \
"know what you are doing." ) "know what you are doing." )
#define STREAM_FILTER_TITLE N_( "Stream filters" )
#define STREAM_FILTER_HELP N_( \
"Stream filters are special modules that allow advanced operations on " \
"the input side of VLC. You should not touch anything here unless you " \
"know what you are doing." )
#define DEMUX_TITLE N_("Demuxers") #define DEMUX_TITLE N_("Demuxers")
#define DEMUX_HELP N_( "Demuxers are used to separate audio and video streams." ) #define DEMUX_HELP N_( "Demuxers are used to separate audio and video streams." )
...@@ -265,6 +271,7 @@ static const struct config_category_t categories_array[] = ...@@ -265,6 +271,7 @@ static const struct config_category_t categories_array[] =
{ SUBCAT_INPUT_VCODEC, VDEC_TITLE, VDEC_HELP }, { SUBCAT_INPUT_VCODEC, VDEC_TITLE, VDEC_HELP },
{ SUBCAT_INPUT_ACODEC, ADEC_TITLE, ADEC_HELP }, { SUBCAT_INPUT_ACODEC, ADEC_TITLE, ADEC_HELP },
{ SUBCAT_INPUT_SCODEC, SDEC_TITLE, SDEC_HELP }, { SUBCAT_INPUT_SCODEC, SDEC_TITLE, SDEC_HELP },
{ SUBCAT_INPUT_STREAM_FILTER, STREAM_FILTER_TITLE, STREAM_FILTER_HELP },
{ CAT_SOUT, SOUT_TITLE, SOUT_HELP }, { CAT_SOUT, SOUT_TITLE, SOUT_HELP },
{ SUBCAT_SOUT_GENERAL, GENERAL_TITLE, SOUT_GENERAL_HELP }, { SUBCAT_SOUT_GENERAL, GENERAL_TITLE, SOUT_GENERAL_HELP },
......
...@@ -103,6 +103,7 @@ extern "C" { ...@@ -103,6 +103,7 @@ extern "C" {
#define SUBCAT_INPUT_VCODEC 405 #define SUBCAT_INPUT_VCODEC 405
#define SUBCAT_INPUT_ACODEC 406 #define SUBCAT_INPUT_ACODEC 406
#define SUBCAT_INPUT_SCODEC 407 #define SUBCAT_INPUT_SCODEC 407
#define SUBCAT_INPUT_STREAM_FILTER 408
#define CAT_SOUT 5 #define CAT_SOUT 5
#define SUBCAT_SOUT_GENERAL 501 #define SUBCAT_SOUT_GENERAL 501
......
...@@ -12,6 +12,7 @@ BASE_SUBDIRS = \ ...@@ -12,6 +12,7 @@ BASE_SUBDIRS = \
misc \ misc \
packetizer \ packetizer \
services_discovery \ services_discovery \
stream_filter \
video_chroma \ video_chroma \
video_filter \ video_filter \
video_output \ video_output \
......
...@@ -1014,8 +1014,11 @@ static const char *const ppsz_clock_descriptions[] = ...@@ -1014,8 +1014,11 @@ static const char *const ppsz_clock_descriptions[] =
#define ACCESS_FILTER_TEXT N_("Access filter module") #define ACCESS_FILTER_TEXT N_("Access filter module")
#define ACCESS_FILTER_LONGTEXT N_( \ #define ACCESS_FILTER_LONGTEXT N_( \
"Access filters are used to modify the stream that is being read. " \ "Access filters are used to modify the stream that is being read." )
"This is used for instance for timeshifting.")
#define STREAM_FILTER_TEXT N_("Stream filter module")
#define STREAM_FILTER_LONGTEXT N_( \
"Stream filters are used to modify the stream that is being read. " )
#define DEMUX_TEXT N_("Demux module") #define DEMUX_TEXT N_("Demux module")
#define DEMUX_LONGTEXT N_( \ #define DEMUX_LONGTEXT N_( \
...@@ -1806,6 +1809,10 @@ vlc_module_begin () ...@@ -1806,6 +1809,10 @@ vlc_module_begin ()
add_bool( "prefer-system-codecs", false, NULL, SYSTEM_CODEC_TEXT, add_bool( "prefer-system-codecs", false, NULL, SYSTEM_CODEC_TEXT,
SYSTEM_CODEC_LONGTEXT, false ); SYSTEM_CODEC_LONGTEXT, false );
set_subcategory( SUBCAT_INPUT_STREAM_FILTER )
add_module_list_cat( "stream-filter", SUBCAT_INPUT_STREAM_FILTER, NULL, NULL,
STREAM_FILTER_TEXT, STREAM_FILTER_LONGTEXT, false );
/* Stream output options */ /* Stream output options */
set_category( CAT_SOUT ) set_category( CAT_SOUT )
......
...@@ -608,6 +608,7 @@ found_shortcut: ...@@ -608,6 +608,7 @@ found_shortcut:
else if( count == 0 ) else if( count == 0 )
{ {
if( !strcmp( psz_capability, "access_demux" ) if( !strcmp( psz_capability, "access_demux" )
|| !strcmp( psz_capability, "stream_filter" )
|| !strcmp( psz_capability, "vout_window" ) ) || !strcmp( psz_capability, "vout_window" ) )
{ {
msg_Dbg( p_this, "no %s module matched \"%s\"", msg_Dbg( p_this, "no %s module matched \"%s\"",
......
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