[vlc-devel] [PATCH 03/10] Adds categories and help for browse modules
Julien 'Lta' BALLET
elthariel at gmail.com
Mon May 26 11:41:43 CEST 2014
From: Julien 'Lta' BALLET <contact at lta.io>
---
include/vlc_config_cat.h | 13 +++++++++++++
include/vlc_plugin.h | 2 ++
2 files changed, 15 insertions(+)
diff --git a/include/vlc_config_cat.h b/include/vlc_config_cat.h
index 7cb796b..a72e9d9 100644
--- a/include/vlc_config_cat.h
+++ b/include/vlc_config_cat.h
@@ -105,6 +105,12 @@
"Stream filters are special modules that allow advanced operations on " \
"the input side of VLC. Use with care..." )
+#define ACCESS_BROWSER_TITLE N_( "Access-level browsers" )
+#define ACCESS_BROWSER_HELP N_( \
+ "Access-level browser are low-level playlist browsers, they usually " \
+ "part of a protocol or system API (i.e. directories on a local or remote " \
+ "file system" )
+
#define DEMUX_TITLE N_("Demuxers")
#define DEMUX_HELP N_( "Demuxers are used to separate audio and video streams." )
@@ -176,6 +182,11 @@
#define SD_HELP N_("Services discovery modules are facilities "\
"that automatically add items to playlist.")
+#define BROWSER_TITLE N_( "Browsers" )
+#define BROWSER_HELP N_( "Browsers are modules that allow on-demand " \
+ "exploration of (usually remote) services providing medias " \
+ "(i.e. a Web service)" )
+
/* Advanced */
#define AADVANCED_TITLE N_( "Advanced" )
#define AADVANCED_HELP N_( "Advanced settings. Use with care...")
@@ -239,6 +250,7 @@ static const struct config_category_t categories_array[] =
{ SUBCAT_INPUT_ACODEC, ADEC_TITLE, ADEC_HELP },
{ SUBCAT_INPUT_SCODEC, SDEC_TITLE, SDEC_HELP },
{ SUBCAT_INPUT_STREAM_FILTER, STREAM_FILTER_TITLE, STREAM_FILTER_HELP },
+ { SUBCAT_INPUT_ACCESS_BROWSER, ACCESS_BROWSER_TITLE, ACCESS_BROWSER_HELP },
{ CAT_SOUT, SOUT_TITLE, SOUT_HELP },
{ SUBCAT_SOUT_GENERAL, SOUT_TITLE, SOUT_GENERAL_HELP },
@@ -251,6 +263,7 @@ static const struct config_category_t categories_array[] =
{ CAT_PLAYLIST, PLAYLIST_TITLE , PLAYLIST_HELP },
{ SUBCAT_PLAYLIST_GENERAL, PLAYLIST_TITLE, PGENERAL_HELP },
{ SUBCAT_PLAYLIST_SD, SD_TITLE, SD_HELP },
+ { SUBCAT_PLAYLIST_BROWSER, BROWSER_TITLE, BROWSER_HELP},
{ CAT_ADVANCED, AADVANCED_TITLE, AADVANCED_HELP },
{ SUBCAT_ADVANCED_MISC, MISC_TITLE, AADVANCED_HELP },
diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h
index 14c48f0..97b7863 100644
--- a/include/vlc_plugin.h
+++ b/include/vlc_plugin.h
@@ -163,6 +163,7 @@ enum vlc_module_properties
#define SUBCAT_INPUT_ACODEC 405
#define SUBCAT_INPUT_SCODEC 406
#define SUBCAT_INPUT_STREAM_FILTER 407
+#define SUBCAT_INPUT_ACCESS_BROWSER 402
#define CAT_SOUT 5
#define SUBCAT_SOUT_GENERAL 501
@@ -180,6 +181,7 @@ enum vlc_module_properties
#define SUBCAT_PLAYLIST_GENERAL 701
#define SUBCAT_PLAYLIST_SD 702
#define SUBCAT_PLAYLIST_EXPORT 703
+#define SUBCAT_PLAYLIST_BROWSER 704
/**
--
1.9.3
More information about the vlc-devel
mailing list