2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef MPLAYER_CFG_COMMON_H
20 #define MPLAYER_CFG_COMMON_H
22 #include <sys/types.h>
27 extern char *mp_msg_charset
;
28 extern int mp_msg_color
;
29 extern int mp_msg_module
;
31 // codec/filter opts: (defined at libmpcodecs/vd.c)
32 extern float screen_size_xy
;
36 /* defined in codec-cfg.c */
37 extern char * codecs_file
;
39 /* defined in dec_video.c */
40 extern int field_dominance
;
42 /* from dec_audio, currently used for ac3surround decoder only */
43 extern int audio_output_channels
;
46 /* defined in network.c */
47 extern char *network_username
;
48 extern char *network_password
;
49 extern int network_bandwidth
;
50 extern char *network_useragent
;
51 extern int network_cookies_enabled
;
52 extern char *cookies_file
;
54 extern int network_prefer_ipv4
;
55 extern int network_ipv4_only_proxy
;
56 extern int reuse_socket
;
58 extern int dvd_speed
; /* stream/stream_dvd.c */
60 extern float a52_drc_level
;
62 /* defined in libmpdemux: */
63 extern int hr_mp3_seek
;
64 extern const m_option_t demux_rawaudio_opts
[];
65 extern const m_option_t demux_rawvideo_opts
[];
66 extern const m_option_t cdda_opts
[];
68 extern char* sub_stream
;
69 extern int demuxer_type
, audio_demuxer_type
, sub_demuxer_type
;
71 extern int ts_keep_broken
;
72 extern off_t ts_probe
;
73 extern int audio_substream_id
;
74 extern off_t ps_probe
;
76 #include "stream/tv.h"
77 #include "stream/stream_radio.h"
82 const m_option_t radioopts_conf
[]={
83 {"device", &stream_radio_defaults
.device
, CONF_TYPE_STRING
, 0, 0 ,0, NULL
},
84 {"driver", &stream_radio_defaults
.driver
, CONF_TYPE_STRING
, 0, 0 ,0, NULL
},
85 #ifdef RADIO_BSDBT848_HDR
86 {"freq_min", &stream_radio_defaults
.freq_min
, CONF_TYPE_FLOAT
, 0, 0 ,0, NULL
},
87 {"freq_max", &stream_radio_defaults
.freq_max
, CONF_TYPE_FLOAT
, 0, 0 ,0, NULL
},
89 {"channels", &stream_radio_defaults
.channels
, CONF_TYPE_STRING_LIST
, 0, 0 ,0, NULL
},
90 {"volume", &stream_radio_defaults
.volume
, CONF_TYPE_INT
, CONF_RANGE
, 0 ,100, NULL
},
91 {"adevice", &stream_radio_defaults
.adevice
, CONF_TYPE_STRING
, 0, 0 ,0, NULL
},
92 {"arate", &stream_radio_defaults
.arate
, CONF_TYPE_INT
, CONF_MIN
, 0 ,0, NULL
},
93 {"achannels", &stream_radio_defaults
.achannels
, CONF_TYPE_INT
, CONF_MIN
, 0 ,0, NULL
},
94 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
96 #endif /* CONFIG_RADIO */
99 const m_option_t tvopts_conf
[]={
100 {"on", "-tv on has been removed, use tv:// instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
101 {"immediatemode", &stream_tv_defaults
.immediate
, CONF_TYPE_INT
, CONF_RANGE
, 0, 1, NULL
},
102 {"noaudio", &stream_tv_defaults
.noaudio
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
103 {"audiorate", &stream_tv_defaults
.audiorate
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
104 {"driver", &stream_tv_defaults
.driver
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
105 {"device", &stream_tv_defaults
.device
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
106 {"freq", &stream_tv_defaults
.freq
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
107 {"channel", &stream_tv_defaults
.channel
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
108 {"chanlist", &stream_tv_defaults
.chanlist
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
109 {"norm", &stream_tv_defaults
.norm
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
110 {"automute", &stream_tv_defaults
.automute
, CONF_TYPE_INT
, CONF_RANGE
, 0, 255, NULL
},
111 #if defined(CONFIG_TV_V4L2) || defined(CONFIG_TV_DSHOW)
112 {"normid", &stream_tv_defaults
.normid
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
114 {"width", &stream_tv_defaults
.width
, CONF_TYPE_INT
, 0, 0, 4096, NULL
},
115 {"height", &stream_tv_defaults
.height
, CONF_TYPE_INT
, 0, 0, 4096, NULL
},
116 {"input", &stream_tv_defaults
.input
, CONF_TYPE_INT
, 0, 0, 20, NULL
},
117 {"outfmt", &stream_tv_defaults
.outfmt
, CONF_TYPE_IMGFMT
, 0, 0, 0, NULL
},
118 {"fps", &stream_tv_defaults
.fps
, CONF_TYPE_FLOAT
, 0, 0, 100.0, NULL
},
119 {"channels", &stream_tv_defaults
.channels
, CONF_TYPE_STRING_LIST
, 0, 0, 0, NULL
},
120 {"brightness", &stream_tv_defaults
.brightness
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
121 {"contrast", &stream_tv_defaults
.contrast
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
122 {"hue", &stream_tv_defaults
.hue
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
123 {"saturation", &stream_tv_defaults
.saturation
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
124 {"gain", &stream_tv_defaults
.gain
, CONF_TYPE_INT
, CONF_RANGE
, -1, 100, NULL
},
125 #if defined(CONFIG_TV_V4L) || defined(CONFIG_TV_V4L2) || defined(CONFIG_TV_DSHOW)
126 {"buffersize", &stream_tv_defaults
.buffer_size
, CONF_TYPE_INT
, CONF_RANGE
, 16, 1024, NULL
},
127 {"amode", &stream_tv_defaults
.amode
, CONF_TYPE_INT
, CONF_RANGE
, 0, 3, NULL
},
128 {"volume", &stream_tv_defaults
.volume
, CONF_TYPE_INT
, CONF_RANGE
, 0, 65535, NULL
},
130 #if defined(CONFIG_TV_V4L) || defined(CONFIG_TV_V4L2)
131 {"bass", &stream_tv_defaults
.bass
, CONF_TYPE_INT
, CONF_RANGE
, 0, 65535, NULL
},
132 {"treble", &stream_tv_defaults
.treble
, CONF_TYPE_INT
, CONF_RANGE
, 0, 65535, NULL
},
133 {"balance", &stream_tv_defaults
.balance
, CONF_TYPE_INT
, CONF_RANGE
, 0, 65535, NULL
},
134 {"forcechan", &stream_tv_defaults
.forcechan
, CONF_TYPE_INT
, CONF_RANGE
, 1, 2, NULL
},
135 {"forceaudio", &stream_tv_defaults
.force_audio
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
136 {"buffersize", &stream_tv_defaults
.buffer_size
, CONF_TYPE_INT
, CONF_RANGE
, 16, 1024, NULL
},
137 {"mjpeg", &stream_tv_defaults
.mjpeg
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
138 {"decimation", &stream_tv_defaults
.decimation
, CONF_TYPE_INT
, CONF_RANGE
, 1, 4, NULL
},
139 {"quality", &stream_tv_defaults
.quality
, CONF_TYPE_INT
, CONF_RANGE
, 0, 100, NULL
},
141 {"alsa", &stream_tv_defaults
.alsa
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
142 #endif /* CONFIG_ALSA */
143 #endif /* defined(CONFIG_TV_V4L) || defined(CONFIG_TV_V4L2) */
144 {"adevice", &stream_tv_defaults
.adevice
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
145 {"tdevice", &stream_tv_defaults
.teletext
.device
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
146 {"tpage", &stream_tv_defaults
.teletext
.page
, CONF_TYPE_INT
, CONF_RANGE
, 100, 899, NULL
},
147 {"tformat", &stream_tv_defaults
.teletext
.format
, CONF_TYPE_INT
, CONF_RANGE
, 0, 3, NULL
},
148 {"tlang", &stream_tv_defaults
.teletext
.lang
, CONF_TYPE_INT
, CONF_RANGE
, -1, 0x7f, NULL
},
149 {"audioid", &stream_tv_defaults
.audio_id
, CONF_TYPE_INT
, CONF_RANGE
, 0, 9, NULL
},
150 #ifdef CONFIG_TV_DSHOW
151 {"hidden_video_renderer", &stream_tv_defaults
.hidden_video_renderer
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
152 {"nohidden_video_renderer", &stream_tv_defaults
.hidden_video_renderer
, CONF_TYPE_FLAG
, 0, 0, 0, NULL
},
153 {"hidden_vp_renderer", &stream_tv_defaults
.hidden_vp_renderer
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
154 {"nohidden_vp_renderer", &stream_tv_defaults
.hidden_vp_renderer
, CONF_TYPE_FLAG
, 0, 0, 0, NULL
},
155 {"system_clock", &stream_tv_defaults
.system_clock
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
156 {"nosystem_clock", &stream_tv_defaults
.system_clock
, CONF_TYPE_FLAG
, 0, 0, 0, NULL
},
157 {"normalize_audio_chunks", &stream_tv_defaults
.normalize_audio_chunks
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
158 {"nonormalize_audio_chunks", &stream_tv_defaults
.normalize_audio_chunks
, CONF_TYPE_FLAG
, 0, 0, 0, NULL
},
160 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
162 #endif /* CONFIG_TV */
164 extern int pvr_param_aspect_ratio
;
165 extern int pvr_param_sample_rate
;
166 extern int pvr_param_audio_layer
;
167 extern int pvr_param_audio_bitrate
;
168 extern char *pvr_param_audio_mode
;
169 extern int pvr_param_bitrate
;
170 extern char *pvr_param_bitrate_mode
;
171 extern int pvr_param_bitrate_peak
;
172 extern char *pvr_param_stream_type
;
175 const m_option_t pvropts_conf
[]={
176 {"aspect", &pvr_param_aspect_ratio
, CONF_TYPE_INT
, 0, 1, 4, NULL
},
177 {"arate", &pvr_param_sample_rate
, CONF_TYPE_INT
, 0, 32000, 48000, NULL
},
178 {"alayer", &pvr_param_audio_layer
, CONF_TYPE_INT
, 0, 1, 2, NULL
},
179 {"abitrate", &pvr_param_audio_bitrate
, CONF_TYPE_INT
, 0, 32, 448, NULL
},
180 {"amode", &pvr_param_audio_mode
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
181 {"vbitrate", &pvr_param_bitrate
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
182 {"vmode", &pvr_param_bitrate_mode
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
183 {"vpeak", &pvr_param_bitrate_peak
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
184 {"fmt", &pvr_param_stream_type
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
185 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
187 #endif /* CONFIG_PVR */
189 extern const m_config_t dvbin_opts_conf
[];
190 extern const m_option_t lavfdopts_conf
[];
192 extern int rtspStreamOverTCP
;
193 extern int rtsp_transport_tcp
;
194 extern int rtsp_transport_sctp
;
195 extern int rtsp_port
;
196 extern char *rtsp_destination
;
199 extern int audio_stream_cache
;
201 extern int sws_chr_vshift
;
202 extern int sws_chr_hshift
;
203 extern float sws_chr_gblur
;
204 extern float sws_lum_gblur
;
205 extern float sws_chr_sharpen
;
206 extern float sws_lum_sharpen
;
208 const m_option_t scaler_filter_conf
[]={
209 {"lgb", &sws_lum_gblur
, CONF_TYPE_FLOAT
, 0, 0, 100.0, NULL
},
210 {"cgb", &sws_chr_gblur
, CONF_TYPE_FLOAT
, 0, 0, 100.0, NULL
},
211 {"cvs", &sws_chr_vshift
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
212 {"chs", &sws_chr_hshift
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
213 {"ls", &sws_lum_sharpen
, CONF_TYPE_FLOAT
, 0, -100.0, 100.0, NULL
},
214 {"cs", &sws_chr_sharpen
, CONF_TYPE_FLOAT
, 0, -100.0, 100.0, NULL
},
215 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
218 /* VIVO demuxer options: */
219 extern int vivo_param_version
;
220 extern char *vivo_param_acodec
;
221 extern int vivo_param_abitrate
;
222 extern int vivo_param_samplerate
;
223 extern int vivo_param_bytesperblock
;
224 extern int vivo_param_width
;
225 extern int vivo_param_height
;
226 extern int vivo_param_vformat
;
227 extern char *dvd_device
, *cdrom_device
;
229 const m_option_t vivoopts_conf
[]={
230 {"version", &vivo_param_version
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
232 {"acodec", &vivo_param_acodec
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
233 {"abitrate", &vivo_param_abitrate
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
234 {"samplerate", &vivo_param_samplerate
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
235 {"bytesperblock", &vivo_param_bytesperblock
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
237 {"width", &vivo_param_width
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
238 {"height", &vivo_param_height
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
239 {"vformat", &vivo_param_vformat
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
240 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
245 extern double mf_fps
;
246 extern char * mf_type
;
247 extern m_obj_settings_t
* vf_settings
;
248 extern m_obj_list_t vf_obj_list
;
250 const m_option_t mfopts_conf
[]={
251 {"on", "-mf on has been removed, use mf:// instead.\n", CONF_TYPE_PRINT
, 0, 0, 1, NULL
},
252 {"w", &mf_w
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
253 {"h", &mf_h
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
254 {"fps", &mf_fps
, CONF_TYPE_DOUBLE
, 0, 0, 0, NULL
},
255 {"type", &mf_type
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
256 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
259 #include "libaf/af.h"
260 extern af_cfg_t af_cfg
; // Audio filter configuration, defined in libmpcodecs/dec_audio.c
261 const m_option_t audio_filter_conf
[]={
262 {"list", &af_cfg
.list
, CONF_TYPE_STRING_LIST
, 0, 0, 0, NULL
},
263 {"force", &af_cfg
.force
, CONF_TYPE_INT
, CONF_RANGE
, 0, 7, NULL
},
264 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
267 extern int mp_msg_levels
[MSGT_MAX
];
268 extern int mp_msg_level_all
;
270 const m_option_t msgl_config
[]={
271 { "all", &mp_msg_level_all
, CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
273 { "global", &mp_msg_levels
[MSGT_GLOBAL
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
274 { "cplayer", &mp_msg_levels
[MSGT_CPLAYER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
275 { "gplayer", &mp_msg_levels
[MSGT_GPLAYER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
276 { "vo", &mp_msg_levels
[MSGT_VO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
277 { "ao", &mp_msg_levels
[MSGT_AO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
278 { "demuxer", &mp_msg_levels
[MSGT_DEMUXER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
279 { "ds", &mp_msg_levels
[MSGT_DS
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
280 { "demux", &mp_msg_levels
[MSGT_DEMUX
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
281 { "header", &mp_msg_levels
[MSGT_HEADER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
282 { "avsync", &mp_msg_levels
[MSGT_AVSYNC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
283 { "autoq", &mp_msg_levels
[MSGT_AUTOQ
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
284 { "cfgparser", &mp_msg_levels
[MSGT_CFGPARSER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
285 { "decaudio", &mp_msg_levels
[MSGT_DECAUDIO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
286 { "decvideo", &mp_msg_levels
[MSGT_DECVIDEO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
287 { "seek", &mp_msg_levels
[MSGT_SEEK
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
288 { "win32", &mp_msg_levels
[MSGT_WIN32
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
289 { "open", &mp_msg_levels
[MSGT_OPEN
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
290 { "dvd", &mp_msg_levels
[MSGT_DVD
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
291 { "parsees", &mp_msg_levels
[MSGT_PARSEES
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
292 { "lirc", &mp_msg_levels
[MSGT_LIRC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
293 { "stream", &mp_msg_levels
[MSGT_STREAM
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
294 { "cache", &mp_msg_levels
[MSGT_CACHE
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
295 { "mencoder", &mp_msg_levels
[MSGT_MENCODER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
296 { "xacodec", &mp_msg_levels
[MSGT_XACODEC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
297 { "tv", &mp_msg_levels
[MSGT_TV
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
298 { "radio", &mp_msg_levels
[MSGT_RADIO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
299 { "osdep", &mp_msg_levels
[MSGT_OSDEP
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
300 { "spudec", &mp_msg_levels
[MSGT_SPUDEC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
301 { "playtree", &mp_msg_levels
[MSGT_PLAYTREE
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
302 { "input", &mp_msg_levels
[MSGT_INPUT
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
303 { "vfilter", &mp_msg_levels
[MSGT_VFILTER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
304 { "osd", &mp_msg_levels
[MSGT_OSD
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
305 { "network", &mp_msg_levels
[MSGT_NETWORK
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
306 { "cpudetect", &mp_msg_levels
[MSGT_CPUDETECT
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
307 { "codeccfg", &mp_msg_levels
[MSGT_CODECCFG
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
308 { "sws", &mp_msg_levels
[MSGT_SWS
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
309 { "vobsub", &mp_msg_levels
[MSGT_VOBSUB
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
310 { "subreader", &mp_msg_levels
[MSGT_SUBREADER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
311 { "afilter", &mp_msg_levels
[MSGT_AFILTER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
312 { "netst", &mp_msg_levels
[MSGT_NETST
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
313 { "muxer", &mp_msg_levels
[MSGT_MUXER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
314 { "osd-menu", &mp_msg_levels
[MSGT_OSD_MENU
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
315 { "identify", &mp_msg_levels
[MSGT_IDENTIFY
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
316 { "ass", &mp_msg_levels
[MSGT_ASS
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
317 { "statusline", &mp_msg_levels
[MSGT_STATUSLINE
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
318 {"help", "Available msg modules:\n"
319 " global - common player errors/information\n"
320 " cplayer - console player (mplayer.c)\n"
321 " gplayer - gui player\n"
324 " demuxer - demuxer.c (general stuff)\n"
325 " ds - demux stream (add/read packet etc)\n"
326 " demux - fileformat-specific stuff (demux_*.c)\n"
327 " header - fileformat-specific header (*header.c)\n"
328 " avsync - mplayer.c timer stuff\n"
329 " autoq - mplayer.c auto-quality stuff\n"
330 " cfgparser - cfgparser.c\n"
331 " decaudio - av decoder\n"
333 " seek - seeking code\n"
334 " win32 - win32 dll stuff\n"
335 " open - open.c (stream opening)\n"
336 " dvd - open.c (DVD init/read/seek)\n"
337 " parsees - parse_es.c (mpeg stream parser)\n"
338 " lirc - lirc_mp.c and input lirc driver\n"
339 " stream - stream.c\n"
340 " cache - cache2.c\n"
342 " xacodec - XAnim codecs\n"
343 " tv - TV input subsystem\n"
344 " osdep - OS-dependent parts\n"
345 " spudec - spudec.c\n"
346 " playtree - Playtree handling (playtree.c, playtreeparser.c)\n"
356 " osd-menu - OSD menu messages\n"
357 " afilter - Audio filter messages\n"
358 " netst - Netstream\n"
359 " muxer - muxer layer\n"
360 " identify - identify output\n"
361 " ass - libass messages\n"
362 " statusline - playback/encoding status line\n"
363 "\n", CONF_TYPE_PRINT
, CONF_NOCFG
, 0, 0, NULL
},
364 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
368 extern const m_option_t noconfig_opts
[];
370 extern const m_option_t lavc_decode_opts_conf
[];
371 extern const m_option_t xvid_dec_opts
[];
373 #endif /* MPLAYER_CFG_COMMON_H */