VLC  3.0.15
vlc_config_cat.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * vlc_config_cat.h : Definition of configuration categories
3  *****************************************************************************
4  * Copyright (C) 2003 VLC authors and VideoLAN
5  * $Id: 55d2e468d1ccc3fcd8d165dcecc10ec753021a5e $
6  *
7  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
8  * Anil Daoud <anil@videolan.org>
9  *
10  * This program is free software; you can redistribute it and/or modify it
11  * under the terms of the GNU Lesser General Public License as published by
12  * the Free Software Foundation; either version 2.1 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * along with this program; if not, write to the Free Software Foundation,
22  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23  *****************************************************************************/
24 
25 #ifndef VLC_HELP_H
26 #define VLC_HELP_H 1
27 # include <vlc_plugin.h>
28 
29 /*
30  * First, we need help strings for the General Settings and for the
31  * Plugins screen
32  */
33 #define MAIN_TITLE N_( "VLC preferences" )
34 #define MAIN_HELP N_( \
35  "Select \"Advanced Options\" to see all options." )
36 
37 /* Interface */
38 #define INTF_TITLE N_("Interface")
39 #define INTF_HELP N_( "Settings for VLC's interfaces" )
40 
41 #define INTF_GENERAL_HELP N_( "Main interfaces settings" )
42 
43 #define INTF_MAIN_TITLE N_( "Main interfaces" )
44 #define INTF_MAIN_HELP N_( "Settings for the main interface" )
45 
46 #define INTF_CONTROL_TITLE N_( "Control interfaces" )
47 #define INTF_CONTROL_HELP N_( "Settings for VLC's control interfaces" )
48 
49 #define INTF_HOTKEYS_TITLE N_( "Hotkeys settings" )
50 #define INTF_HOTKEYS_HELP N_( "Hotkeys settings" )
51 
52 /* Audio */
53 #define AUDIO_TITLE N_( "Audio" )
54 #define AUDIO_HELP N_( "Audio settings" )
55 
56 #define AUDIO_GENERAL_HELP N_("General audio settings")
57 
58 #define AFILTER_TITLE N_("Filters")
59 #define AFILTER_HELP N_( "Audio filters are used to process the audio stream." )
60 
61 #define ARESAMPLER_TITLE N_("Audio resampler")
62 
63 #define AVISUAL_TITLE N_("Visualizations")
64 #define AVISUAL_HELP N_( "Audio visualizations" )
65 
66 #define AOUT_TITLE N_( "Output modules" )
67 #define AOUT_HELP N_("General settings for audio output modules.")
68 
69 #define AMISC_TITLE N_("Miscellaneous")
70 #define AMISC_HELP N_( "Miscellaneous audio settings and modules." )
71 
72 /* Video */
73 #define VIDEO_TITLE N_("Video")
74 #define VIDEO_HELP N_("Video settings")
75 
76 #define VIDEO_GENERAL_HELP N_( "General video settings" )
77 
78 #define _VOUT_TITLE N_("Output modules" )
79 #define VOUT_HELP N_("General settings for video output modules.")
80 
81 #define VFILTER_TITLE N_("Filters" )
82 #define VFILTER_HELP N_("Video filters are used to process the video stream." )
83 
84 #define SUBPIC_TITLE N_( "Subtitles / OSD")
85 #define SUBPIC_HELP N_( "Settings related to On-Screen-Display,"\
86  " subtitles and \"overlay subpictures\"")
87 
88 #define SPLITTER_TITLE N_("Splitters")
89 #define SPLITTER_HELP N_("Video splitters separate the stream into multiple videos.")
90 
91 /*
92 #define TEXT_HELP N_( \
93  "Use the settings of the \"freetype\" module to choose the font you " \
94  "want VLC to use for text rendering (to display subtitles for example).")
95 */
96 /* Input */
97 #define INPUT_TITLE N_( "Input / Codecs" )
98 #define INPUT_HELP N_( "Settings for input, demultiplexing, " \
99  "decoding and encoding")
100 
101 #define ACCESS_TITLE N_( "Access modules" )
102 #define ACCESS_HELP N_( \
103  "Settings related to the various access methods. " \
104  "Common settings you may want to alter are HTTP proxy or " \
105  "caching settings." )
106 
107 #define STREAM_FILTER_TITLE N_( "Stream filters" )
108 #define STREAM_FILTER_HELP N_( \
109  "Stream filters are special modules that allow advanced operations on " \
110  "the input side of VLC. Use with care..." )
111 
112 #define DEMUX_TITLE N_("Demuxers")
113 #define DEMUX_HELP N_( "Demuxers are used to separate audio and video streams." )
114 
115 #define VDEC_TITLE N_( "Video codecs" )
116 #define VDEC_HELP N_( "Settings for the video, images or video+audio decoders and encoders." )
117 
118 #define ADEC_TITLE N_( "Audio codecs" )
119 #define ADEC_HELP N_( "Settings for the audio-only decoders and encoders." )
120 
121 #define SDEC_TITLE N_( "Subtitle codecs")
122 #define SDEC_HELP N_( "Settings for subtitle, teletext and CC decoders and encoders." )
123 
124 #define ADVANCED_HELP N_( "General input settings. Use with care..." )
125 
126 /* Sout */
127 #define SOUT_TITLE N_( "Stream output" )
128 #define SOUT_HELP N_( \
129  "Stream output settings are used when acting as a streaming server " \
130  "or when saving incoming streams.\n" \
131  "Streams are first muxed and then sent through an \"access output\" "\
132  "module that can either save the stream to a file, or stream " \
133  "it (UDP, HTTP, RTP/RTSP).\n" \
134  "Sout streams modules allow advanced stream processing (transcoding, "\
135  "duplicating...).")
136 
137 #define SOUT_GENERAL_HELP N_( "General stream output settings")
138 
139 #define SOUT_MUX_TITLE N_( "Muxers" )
140 #define SOUT_MUX_HELP N_( \
141  "Muxers create the encapsulation formats that are used to " \
142  "put all the elementary streams (video, audio, ...) " \
143  "together. This setting allows you to always force a specific muxer. " \
144  "You should probably not do that.\n" \
145  "You can also set default parameters for each muxer." )
146 
147 #define SOUT_ACO_TITLE N_( "Access output" )
148 #define SOUT_ACO_HELP N_( \
149  "Access output modules control the ways the muxed streams are sent. " \
150  "This setting allows you to always force a specific access output method. " \
151  "You should probably not do that.\n" \
152  "You can also set default parameters for each access output.")
153 
154 #define SOUT_PACKET_TITLE N_( "Packetizers" )
155 #define SOUT_PACKET_HELP N_( \
156  "Packetizers are used to \"preprocess\" the elementary "\
157  "streams before muxing. " \
158  "This setting allows you to always force a packetizer. " \
159  "You should probably not do that.\n" \
160  "You can also set default parameters for each packetizer." )
161 
162 #define SOUT_STREAM_TITLE N_("Sout stream")
163 #define SOUT_STREAM_HELP N_( "Sout stream modules allow to build a sout " \
164  "processing chain. Please refer to the Streaming Howto for " \
165  "more information. You can configure default options for " \
166  "each sout stream module here.")
167 
168 #define SOUT_VOD_TITLE N_( "VOD" )
169 #define SOUT_VOD_HELP N_( "VLC's implementation of Video On Demand" )
170 
171 
172 /* Playlist */
173 #define PLAYLIST_TITLE N_( "Playlist" )
174 #define PLAYLIST_HELP N_( "Settings related to playlist behaviour " \
175  "(e.g. playback mode) and to modules that automatically add "\
176  "items to the playlist (\"service discovery\" modules).")
177 
178 #define PGENERAL_HELP N_( "General playlist behaviour")
179 #define SD_TITLE N_("Services discovery")
180 #define SD_HELP N_("Services discovery modules are facilities "\
181  "that automatically add items to playlist.")
182 
183 /* Advanced */
184 #define AADVANCED_TITLE N_( "Advanced" )
185 #define AADVANCED_HELP N_( "Advanced settings. Use with care...")
186 
187 #define MISC_TITLE N_( "Advanced settings" )
188 
189 /* This function is deprecated and is kept only for compatibility */
190 static const struct config_category_t categories_array[] =
191 {
192  /* Interface */
198 
206 
213 
222 
230 
234 
237 
238  { -1, NULL, NULL }
239 };
240 
241 VLC_USED
242 static inline const char *config_CategoryNameGet( int i_value )
243 {
244  int i = 0;
245  while( categories_array[i].psz_name != NULL )
246  {
247  if( categories_array[i].i_id == i_value )
248  {
250  }
251  i++;
252  }
253  return NULL;
254 }
255 
256 VLC_USED
257 static inline const char *config_CategoryHelpGet( int i_value )
258 {
259  int i = 0;
260  while( categories_array[i].psz_help != NULL )
261  {
262  if( categories_array[i].i_id == i_value )
263  {
265  }
266  i++;
267  }
268  return NULL;
269 }
270 
271 #endif /* VLC_HELP_H */
PLAYLIST_HELP
#define PLAYLIST_HELP
Definition: vlc_config_cat.h:174
VDEC_HELP
#define VDEC_HELP
Definition: vlc_config_cat.h:116
config_category_t
Definition: vlc_configuration.h:41
AFILTER_TITLE
#define AFILTER_TITLE
Definition: vlc_config_cat.h:58
i_value
uint32_t i_value
Definition: vlc_text_style.h:215
INTF_TITLE
#define INTF_TITLE
Definition: vlc_config_cat.h:38
SUBCAT_VIDEO_VFILTER
#define SUBCAT_VIDEO_VFILTER
Definition: vlc_plugin.h:156
config_category_t::i_id
int i_id
Definition: vlc_configuration.h:43
SUBCAT_AUDIO_GENERAL
#define SUBCAT_AUDIO_GENERAL
Definition: vlc_plugin.h:146
VIDEO_HELP
#define VIDEO_HELP
Definition: vlc_config_cat.h:74
PGENERAL_HELP
#define PGENERAL_HELP
Definition: vlc_config_cat.h:178
VIDEO_TITLE
#define VIDEO_TITLE
Definition: vlc_config_cat.h:73
SOUT_ACO_TITLE
#define SOUT_ACO_TITLE
Definition: vlc_config_cat.h:147
INTF_CONTROL_TITLE
#define INTF_CONTROL_TITLE
Definition: vlc_config_cat.h:46
vlc_common.h
MISC_TITLE
#define MISC_TITLE
Definition: vlc_config_cat.h:187
DEMUX_TITLE
#define DEMUX_TITLE
Definition: vlc_config_cat.h:112
SUBCAT_AUDIO_AFILTER
#define SUBCAT_AUDIO_AFILTER
Definition: vlc_plugin.h:148
CAT_SOUT
#define CAT_SOUT
Definition: vlc_plugin.h:169
SOUT_PACKET_TITLE
#define SOUT_PACKET_TITLE
Definition: vlc_config_cat.h:154
AMISC_HELP
#define AMISC_HELP
Definition: vlc_config_cat.h:70
SUBCAT_PLAYLIST_SD
#define SUBCAT_PLAYLIST_SD
Definition: vlc_plugin.h:184
SOUT_GENERAL_HELP
#define SOUT_GENERAL_HELP
Definition: vlc_config_cat.h:137
SUBCAT_SOUT_PACKETIZER
#define SUBCAT_SOUT_PACKETIZER
Definition: vlc_plugin.h:174
SPLITTER_HELP
#define SPLITTER_HELP
Definition: vlc_config_cat.h:89
DEMUX_HELP
#define DEMUX_HELP
Definition: vlc_config_cat.h:113
VFILTER_TITLE
#define VFILTER_TITLE
Definition: vlc_config_cat.h:81
INTF_HELP
#define INTF_HELP
Definition: vlc_config_cat.h:39
INTF_MAIN_TITLE
#define INTF_MAIN_TITLE
Definition: vlc_config_cat.h:43
SUBCAT_INPUT_STREAM_FILTER
#define SUBCAT_INPUT_STREAM_FILTER
Definition: vlc_plugin.h:167
SUBCAT_AUDIO_AOUT
#define SUBCAT_AUDIO_AOUT
Definition: vlc_plugin.h:147
SUBCAT_AUDIO_MISC
#define SUBCAT_AUDIO_MISC
Definition: vlc_plugin.h:150
SUBCAT_INPUT_VCODEC
#define SUBCAT_INPUT_VCODEC
Definition: vlc_plugin.h:164
SUBCAT_VIDEO_VOUT
#define SUBCAT_VIDEO_VOUT
Definition: vlc_plugin.h:155
vlc_gettext
char * vlc_gettext(const char *msgid)
In-tree plugins share their gettext domain with LibVLC.
Definition: textdomain.c:89
SOUT_TITLE
#define SOUT_TITLE
Definition: vlc_config_cat.h:127
SUBCAT_PLAYLIST_GENERAL
#define SUBCAT_PLAYLIST_GENERAL
Definition: vlc_plugin.h:183
INPUT_TITLE
#define INPUT_TITLE
Definition: vlc_config_cat.h:97
AUDIO_HELP
#define AUDIO_HELP
Definition: vlc_config_cat.h:54
AUDIO_TITLE
#define AUDIO_TITLE
Definition: vlc_config_cat.h:53
VIDEO_GENERAL_HELP
#define VIDEO_GENERAL_HELP
Definition: vlc_config_cat.h:76
CAT_AUDIO
#define CAT_AUDIO
Definition: vlc_plugin.h:145
categories_array
static const struct config_category_t categories_array[]
Definition: vlc_config_cat.h:190
SUBCAT_ADVANCED_MISC
#define SUBCAT_ADVANCED_MISC
Definition: vlc_plugin.h:179
AADVANCED_HELP
#define AADVANCED_HELP
Definition: vlc_config_cat.h:185
SUBPIC_TITLE
#define SUBPIC_TITLE
Definition: vlc_config_cat.h:84
SUBCAT_SOUT_ACO
#define SUBCAT_SOUT_ACO
Definition: vlc_plugin.h:173
config_category_t::psz_help
const char * psz_help
Definition: vlc_configuration.h:45
VFILTER_HELP
#define VFILTER_HELP
Definition: vlc_config_cat.h:82
AVISUAL_HELP
#define AVISUAL_HELP
Definition: vlc_config_cat.h:64
SUBCAT_VIDEO_SPLITTER
#define SUBCAT_VIDEO_SPLITTER
Definition: vlc_plugin.h:158
INTF_HOTKEYS_TITLE
#define INTF_HOTKEYS_TITLE
Definition: vlc_config_cat.h:49
SUBPIC_HELP
#define SUBPIC_HELP
Definition: vlc_config_cat.h:85
SPLITTER_TITLE
#define SPLITTER_TITLE
Definition: vlc_config_cat.h:88
config_CategoryHelpGet
static const char * config_CategoryHelpGet(int i_value)
Definition: vlc_config_cat.h:257
INTF_MAIN_HELP
#define INTF_MAIN_HELP
Definition: vlc_config_cat.h:44
SUBCAT_INTERFACE_MAIN
#define SUBCAT_INTERFACE_MAIN
Definition: vlc_plugin.h:141
vlc_plugin.h
SOUT_MUX_TITLE
#define SOUT_MUX_TITLE
Definition: vlc_config_cat.h:139
psz_name
const char * psz_name
Definition: vlc_codecs.h:315
ACCESS_TITLE
#define ACCESS_TITLE
Definition: vlc_config_cat.h:101
SOUT_STREAM_TITLE
#define SOUT_STREAM_TITLE
Definition: vlc_config_cat.h:162
INPUT_HELP
#define INPUT_HELP
Definition: vlc_config_cat.h:98
SUBCAT_AUDIO_VISUAL
#define SUBCAT_AUDIO_VISUAL
Definition: vlc_plugin.h:149
SUBCAT_INTERFACE_CONTROL
#define SUBCAT_INTERFACE_CONTROL
Definition: vlc_plugin.h:142
AADVANCED_TITLE
#define AADVANCED_TITLE
Definition: vlc_config_cat.h:184
STREAM_FILTER_HELP
#define STREAM_FILTER_HELP
Definition: vlc_config_cat.h:108
INTF_CONTROL_HELP
#define INTF_CONTROL_HELP
Definition: vlc_config_cat.h:47
INTF_HOTKEYS_HELP
#define INTF_HOTKEYS_HELP
Definition: vlc_config_cat.h:50
SUBCAT_VIDEO_SUBPIC
#define SUBCAT_VIDEO_SUBPIC
Definition: vlc_plugin.h:157
SUBCAT_INPUT_ACCESS
#define SUBCAT_INPUT_ACCESS
Definition: vlc_plugin.h:162
AVISUAL_TITLE
#define AVISUAL_TITLE
Definition: vlc_config_cat.h:63
SUBCAT_AUDIO_RESAMPLER
#define SUBCAT_AUDIO_RESAMPLER
Definition: vlc_plugin.h:151
SOUT_VOD_TITLE
#define SOUT_VOD_TITLE
Definition: vlc_config_cat.h:168
STREAM_FILTER_TITLE
#define STREAM_FILTER_TITLE
Definition: vlc_config_cat.h:107
VLC_USED
#define VLC_USED
Definition: fourcc_gen.c:31
SUBCAT_INPUT_GENERAL
#define SUBCAT_INPUT_GENERAL
Definition: vlc_plugin.h:161
AOUT_HELP
#define AOUT_HELP
Definition: vlc_config_cat.h:67
VDEC_TITLE
#define VDEC_TITLE
Definition: vlc_config_cat.h:115
SOUT_STREAM_HELP
#define SOUT_STREAM_HELP
Definition: vlc_config_cat.h:163
ACCESS_HELP
#define ACCESS_HELP
Definition: vlc_config_cat.h:102
AOUT_TITLE
#define AOUT_TITLE
Definition: vlc_config_cat.h:66
SDEC_HELP
#define SDEC_HELP
Definition: vlc_config_cat.h:122
SUBCAT_INPUT_DEMUX
#define SUBCAT_INPUT_DEMUX
Definition: vlc_plugin.h:163
INTF_GENERAL_HELP
#define INTF_GENERAL_HELP
Definition: vlc_config_cat.h:41
SOUT_HELP
#define SOUT_HELP
Definition: vlc_config_cat.h:128
AMISC_TITLE
#define AMISC_TITLE
Definition: vlc_config_cat.h:69
SOUT_ACO_HELP
#define SOUT_ACO_HELP
Definition: vlc_config_cat.h:148
SUBCAT_SOUT_STREAM
#define SUBCAT_SOUT_STREAM
Definition: vlc_plugin.h:171
SDEC_TITLE
#define SDEC_TITLE
Definition: vlc_config_cat.h:121
SUBCAT_INPUT_SCODEC
#define SUBCAT_INPUT_SCODEC
Definition: vlc_plugin.h:166
SUBCAT_SOUT_GENERAL
#define SUBCAT_SOUT_GENERAL
Definition: vlc_plugin.h:170
SOUT_VOD_HELP
#define SOUT_VOD_HELP
Definition: vlc_config_cat.h:169
SD_TITLE
#define SD_TITLE
Definition: vlc_config_cat.h:179
CAT_INPUT
#define CAT_INPUT
Definition: vlc_plugin.h:160
SUBCAT_SOUT_VOD
#define SUBCAT_SOUT_VOD
Definition: vlc_plugin.h:175
SUBCAT_INPUT_ACODEC
#define SUBCAT_INPUT_ACODEC
Definition: vlc_plugin.h:165
ARESAMPLER_TITLE
#define ARESAMPLER_TITLE
Definition: vlc_config_cat.h:61
SOUT_MUX_HELP
#define SOUT_MUX_HELP
Definition: vlc_config_cat.h:140
ADEC_HELP
#define ADEC_HELP
Definition: vlc_config_cat.h:119
config_CategoryNameGet
static const char * config_CategoryNameGet(int i_value)
Definition: vlc_config_cat.h:242
_VOUT_TITLE
#define _VOUT_TITLE
Definition: vlc_config_cat.h:78
VOUT_HELP
#define VOUT_HELP
Definition: vlc_config_cat.h:79
SUBCAT_SOUT_MUX
#define SUBCAT_SOUT_MUX
Definition: vlc_plugin.h:172
SUBCAT_VIDEO_GENERAL
#define SUBCAT_VIDEO_GENERAL
Definition: vlc_plugin.h:154
AUDIO_GENERAL_HELP
#define AUDIO_GENERAL_HELP
Definition: vlc_config_cat.h:56
SUBCAT_INTERFACE_HOTKEYS
#define SUBCAT_INTERFACE_HOTKEYS
Definition: vlc_plugin.h:143
PLAYLIST_TITLE
#define PLAYLIST_TITLE
Definition: vlc_config_cat.h:173
CAT_ADVANCED
#define CAT_ADVANCED
Definition: vlc_plugin.h:178
SUBCAT_INTERFACE_GENERAL
#define SUBCAT_INTERFACE_GENERAL
Definition: vlc_plugin.h:140
AFILTER_HELP
#define AFILTER_HELP
Definition: vlc_config_cat.h:59
SD_HELP
#define SD_HELP
Definition: vlc_config_cat.h:180
CAT_PLAYLIST
#define CAT_PLAYLIST
Definition: vlc_plugin.h:182
SOUT_PACKET_HELP
#define SOUT_PACKET_HELP
Definition: vlc_config_cat.h:155
CAT_INTERFACE
#define CAT_INTERFACE
Definition: vlc_plugin.h:139
CAT_VIDEO
#define CAT_VIDEO
Definition: vlc_plugin.h:153
ADEC_TITLE
#define ADEC_TITLE
Definition: vlc_config_cat.h:118