1 #ifndef MPLAYER_CFG_COMMON_H
2 #define MPLAYER_CFG_COMMON_H
9 extern char *mp_msg_charset
;
10 extern int mp_msg_color
;
11 extern int mp_msg_module
;
13 /* defined in codec-cfg.c */
14 extern char * codecs_file
;
16 /* defined in dec_video.c */
17 extern int field_dominance
;
19 /* from dec_audio, currently used for ac3surround decoder only */
20 extern int audio_output_channels
;
23 /* defined in network.c */
24 extern char *network_username
;
25 extern char *network_password
;
26 extern int network_bandwidth
;
27 extern char *network_useragent
;
28 extern int network_cookies_enabled
;
29 extern char *cookies_file
;
31 extern int network_prefer_ipv4
;
32 extern int network_ipv4_only_proxy
;
33 extern int reuse_socket
;
35 extern int dvd_speed
; /* stream/stream_dvd.c */
37 extern float a52_drc_level
;
39 /* defined in libmpdemux: */
40 extern int hr_mp3_seek
;
41 extern const m_option_t demux_rawaudio_opts
[];
42 extern const m_option_t demux_rawvideo_opts
[];
43 extern const m_option_t cdda_opts
[];
45 extern char* sub_stream
;
46 extern int demuxer_type
, audio_demuxer_type
, sub_demuxer_type
;
48 extern int ts_keep_broken
;
49 extern off_t ts_probe
;
50 extern off_t ps_probe
;
52 #include "stream/tv.h"
53 #include "stream/stream_radio.h"
58 const m_option_t radioopts_conf
[]={
59 {"device", &stream_radio_defaults
.device
, CONF_TYPE_STRING
, 0, 0 ,0, NULL
},
60 {"driver", &stream_radio_defaults
.driver
, CONF_TYPE_STRING
, 0, 0 ,0, NULL
},
61 #ifdef RADIO_BSDBT848_HDR
62 {"freq_min", &stream_radio_defaults
.freq_min
, CONF_TYPE_FLOAT
, 0, 0 ,0, NULL
},
63 {"freq_max", &stream_radio_defaults
.freq_max
, CONF_TYPE_FLOAT
, 0, 0 ,0, NULL
},
65 {"channels", &stream_radio_defaults
.channels
, CONF_TYPE_STRING_LIST
, 0, 0 ,0, NULL
},
66 {"volume", &stream_radio_defaults
.volume
, CONF_TYPE_INT
, CONF_RANGE
, 0 ,100, NULL
},
67 {"adevice", &stream_radio_defaults
.adevice
, CONF_TYPE_STRING
, 0, 0 ,0, NULL
},
68 {"arate", &stream_radio_defaults
.arate
, CONF_TYPE_INT
, CONF_MIN
, 0 ,0, NULL
},
69 {"achannels", &stream_radio_defaults
.achannels
, CONF_TYPE_INT
, CONF_MIN
, 0 ,0, NULL
},
70 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
72 #endif /* CONFIG_RADIO */
75 const m_option_t tvopts_conf
[]={
76 {"on", "-tv on has been removed, use tv:// instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
77 {"immediatemode", &stream_tv_defaults
.immediate
, CONF_TYPE_INT
, CONF_RANGE
, 0, 1, NULL
},
78 {"noaudio", &stream_tv_defaults
.noaudio
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
79 {"audiorate", &stream_tv_defaults
.audiorate
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
80 {"driver", &stream_tv_defaults
.driver
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
81 {"device", &stream_tv_defaults
.device
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
82 {"freq", &stream_tv_defaults
.freq
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
83 {"channel", &stream_tv_defaults
.channel
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
84 {"chanlist", &stream_tv_defaults
.chanlist
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
85 {"norm", &stream_tv_defaults
.norm
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
86 {"automute", &stream_tv_defaults
.automute
, CONF_TYPE_INT
, CONF_RANGE
, 0, 255, NULL
},
87 #if defined(CONFIG_TV_V4L2) || defined(CONFIG_TV_DSHOW)
88 {"normid", &stream_tv_defaults
.normid
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
90 {"width", &stream_tv_defaults
.width
, CONF_TYPE_INT
, 0, 0, 4096, NULL
},
91 {"height", &stream_tv_defaults
.height
, CONF_TYPE_INT
, 0, 0, 4096, NULL
},
92 {"input", &stream_tv_defaults
.input
, CONF_TYPE_INT
, 0, 0, 20, NULL
},
93 {"outfmt", &stream_tv_defaults
.outfmt
, CONF_TYPE_IMGFMT
, 0, 0, 0, NULL
},
94 {"fps", &stream_tv_defaults
.fps
, CONF_TYPE_FLOAT
, 0, 0, 100.0, NULL
},
95 {"channels", &stream_tv_defaults
.channels
, CONF_TYPE_STRING_LIST
, 0, 0, 0, NULL
},
96 {"brightness", &stream_tv_defaults
.brightness
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
97 {"contrast", &stream_tv_defaults
.contrast
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
98 {"hue", &stream_tv_defaults
.hue
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
99 {"saturation", &stream_tv_defaults
.saturation
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
100 {"gain", &stream_tv_defaults
.gain
, CONF_TYPE_INT
, CONF_RANGE
, -1, 100, NULL
},
101 #if defined(CONFIG_TV_V4L) || defined(CONFIG_TV_V4L2) || defined(CONFIG_TV_DSHOW)
102 {"buffersize", &stream_tv_defaults
.buffer_size
, CONF_TYPE_INT
, CONF_RANGE
, 16, 1024, NULL
},
103 {"amode", &stream_tv_defaults
.amode
, CONF_TYPE_INT
, CONF_RANGE
, 0, 3, NULL
},
104 {"volume", &stream_tv_defaults
.volume
, CONF_TYPE_INT
, CONF_RANGE
, 0, 65535, NULL
},
106 #if defined(CONFIG_TV_V4L) || defined(CONFIG_TV_V4L2)
107 {"bass", &stream_tv_defaults
.bass
, CONF_TYPE_INT
, CONF_RANGE
, 0, 65535, NULL
},
108 {"treble", &stream_tv_defaults
.treble
, CONF_TYPE_INT
, CONF_RANGE
, 0, 65535, NULL
},
109 {"balance", &stream_tv_defaults
.balance
, CONF_TYPE_INT
, CONF_RANGE
, 0, 65535, NULL
},
110 {"forcechan", &stream_tv_defaults
.forcechan
, CONF_TYPE_INT
, CONF_RANGE
, 1, 2, NULL
},
111 {"forceaudio", &stream_tv_defaults
.force_audio
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
112 {"buffersize", &stream_tv_defaults
.buffer_size
, CONF_TYPE_INT
, CONF_RANGE
, 16, 1024, NULL
},
113 {"mjpeg", &stream_tv_defaults
.mjpeg
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
114 {"decimation", &stream_tv_defaults
.decimation
, CONF_TYPE_INT
, CONF_RANGE
, 1, 4, NULL
},
115 {"quality", &stream_tv_defaults
.quality
, CONF_TYPE_INT
, CONF_RANGE
, 0, 100, NULL
},
117 {"alsa", &stream_tv_defaults
.alsa
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
118 #endif /* CONFIG_ALSA */
119 #endif /* defined(CONFIG_TV_V4L) || defined(CONFIG_TV_V4L2) */
120 {"adevice", &stream_tv_defaults
.adevice
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
121 #ifdef CONFIG_TV_TELETEXT
122 {"tdevice", &stream_tv_defaults
.tdevice
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
123 {"tpage", &stream_tv_defaults
.tpage
, CONF_TYPE_INT
, CONF_RANGE
, 100, 899, NULL
},
124 {"tformat", &stream_tv_defaults
.tformat
, CONF_TYPE_INT
, CONF_RANGE
, 0, 3, NULL
},
125 {"tlang", &stream_tv_defaults
.tlang
, CONF_TYPE_INT
, CONF_RANGE
, -1, 0x7f, NULL
},
126 #endif /* CONFIG_TV_TELETEXT */
127 {"audioid", &stream_tv_defaults
.audio_id
, CONF_TYPE_INT
, CONF_RANGE
, 0, 9, NULL
},
128 #ifdef CONFIG_TV_DSHOW
129 {"hidden_video_renderer", &stream_tv_defaults
.hidden_video_renderer
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
130 {"nohidden_video_renderer", &stream_tv_defaults
.hidden_video_renderer
, CONF_TYPE_FLAG
, 0, 0, 0, NULL
},
131 {"hidden_vp_renderer", &stream_tv_defaults
.hidden_vp_renderer
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
132 {"nohidden_vp_renderer", &stream_tv_defaults
.hidden_vp_renderer
, CONF_TYPE_FLAG
, 0, 0, 0, NULL
},
133 {"system_clock", &stream_tv_defaults
.system_clock
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
134 {"nosystem_clock", &stream_tv_defaults
.system_clock
, CONF_TYPE_FLAG
, 0, 0, 0, NULL
},
135 {"normalize_audio_chunks", &stream_tv_defaults
.normalize_audio_chunks
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
136 {"nonormalize_audio_chunks", &stream_tv_defaults
.normalize_audio_chunks
, CONF_TYPE_FLAG
, 0, 0, 0, NULL
},
138 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
140 #endif /* CONFIG_TV */
142 extern int pvr_param_aspect_ratio
;
143 extern int pvr_param_sample_rate
;
144 extern int pvr_param_audio_layer
;
145 extern int pvr_param_audio_bitrate
;
146 extern char *pvr_param_audio_mode
;
147 extern int pvr_param_bitrate
;
148 extern char *pvr_param_bitrate_mode
;
149 extern int pvr_param_bitrate_peak
;
150 extern char *pvr_param_stream_type
;
153 const m_option_t pvropts_conf
[]={
154 {"aspect", &pvr_param_aspect_ratio
, CONF_TYPE_INT
, 0, 1, 4, NULL
},
155 {"arate", &pvr_param_sample_rate
, CONF_TYPE_INT
, 0, 32000, 48000, NULL
},
156 {"alayer", &pvr_param_audio_layer
, CONF_TYPE_INT
, 0, 1, 2, NULL
},
157 {"abitrate", &pvr_param_audio_bitrate
, CONF_TYPE_INT
, 0, 32, 448, NULL
},
158 {"amode", &pvr_param_audio_mode
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
159 {"vbitrate", &pvr_param_bitrate
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
160 {"vmode", &pvr_param_bitrate_mode
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
161 {"vpeak", &pvr_param_bitrate_peak
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
162 {"fmt", &pvr_param_stream_type
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
163 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
165 #endif /* CONFIG_PVR */
167 extern const m_config_t dvbin_opts_conf
[];
168 extern const m_option_t lavfdopts_conf
[];
170 extern int rtspStreamOverTCP
;
171 extern int rtsp_transport_tcp
;
172 extern int rtsp_transport_sctp
;
173 extern int rtsp_port
;
174 extern char *rtsp_destination
;
177 extern int audio_stream_cache
;
179 extern int sws_chr_vshift
;
180 extern int sws_chr_hshift
;
181 extern float sws_chr_gblur
;
182 extern float sws_lum_gblur
;
183 extern float sws_chr_sharpen
;
184 extern float sws_lum_sharpen
;
186 const m_option_t scaler_filter_conf
[]={
187 {"lgb", &sws_lum_gblur
, CONF_TYPE_FLOAT
, 0, 0, 100.0, NULL
},
188 {"cgb", &sws_chr_gblur
, CONF_TYPE_FLOAT
, 0, 0, 100.0, NULL
},
189 {"cvs", &sws_chr_vshift
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
190 {"chs", &sws_chr_hshift
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
191 {"ls", &sws_lum_sharpen
, CONF_TYPE_FLOAT
, 0, -100.0, 100.0, NULL
},
192 {"cs", &sws_chr_sharpen
, CONF_TYPE_FLOAT
, 0, -100.0, 100.0, NULL
},
193 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
196 /* VIVO demuxer options: */
197 extern int vivo_param_version
;
198 extern char *vivo_param_acodec
;
199 extern int vivo_param_abitrate
;
200 extern int vivo_param_samplerate
;
201 extern int vivo_param_bytesperblock
;
202 extern int vivo_param_width
;
203 extern int vivo_param_height
;
204 extern int vivo_param_vformat
;
205 extern char *dvd_device
, *cdrom_device
;
207 const m_option_t vivoopts_conf
[]={
208 {"version", &vivo_param_version
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
210 {"acodec", &vivo_param_acodec
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
211 {"abitrate", &vivo_param_abitrate
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
212 {"samplerate", &vivo_param_samplerate
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
213 {"bytesperblock", &vivo_param_bytesperblock
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
215 {"width", &vivo_param_width
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
216 {"height", &vivo_param_height
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
217 {"vformat", &vivo_param_vformat
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
218 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
223 extern double mf_fps
;
224 extern char * mf_type
;
225 extern m_obj_list_t vf_obj_list
;
227 const m_option_t mfopts_conf
[]={
228 {"on", "-mf on has been removed, use mf:// instead.\n", CONF_TYPE_PRINT
, 0, 0, 1, NULL
},
229 {"w", &mf_w
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
230 {"h", &mf_h
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
231 {"fps", &mf_fps
, CONF_TYPE_DOUBLE
, 0, 0, 0, NULL
},
232 {"type", &mf_type
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
233 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
236 #include "libaf/af.h"
237 extern af_cfg_t af_cfg
; // Audio filter configuration, defined in libmpcodecs/dec_audio.c
238 const m_option_t audio_filter_conf
[]={
239 {"list", &af_cfg
.list
, CONF_TYPE_STRING_LIST
, 0, 0, 0, NULL
},
240 {"force", &af_cfg
.force
, CONF_TYPE_INT
, CONF_RANGE
, 0, 7, NULL
},
241 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
244 extern int mp_msg_levels
[MSGT_MAX
];
245 extern int mp_msg_level_all
;
247 const m_option_t msgl_config
[]={
248 { "all", &mp_msg_level_all
, CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
250 { "global", &mp_msg_levels
[MSGT_GLOBAL
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
251 { "cplayer", &mp_msg_levels
[MSGT_CPLAYER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
252 { "gplayer", &mp_msg_levels
[MSGT_GPLAYER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
253 { "vo", &mp_msg_levels
[MSGT_VO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
254 { "ao", &mp_msg_levels
[MSGT_AO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
255 { "demuxer", &mp_msg_levels
[MSGT_DEMUXER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
256 { "ds", &mp_msg_levels
[MSGT_DS
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
257 { "demux", &mp_msg_levels
[MSGT_DEMUX
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
258 { "header", &mp_msg_levels
[MSGT_HEADER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
259 { "avsync", &mp_msg_levels
[MSGT_AVSYNC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
260 { "autoq", &mp_msg_levels
[MSGT_AUTOQ
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
261 { "cfgparser", &mp_msg_levels
[MSGT_CFGPARSER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
262 { "decaudio", &mp_msg_levels
[MSGT_DECAUDIO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
263 { "decvideo", &mp_msg_levels
[MSGT_DECVIDEO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
264 { "seek", &mp_msg_levels
[MSGT_SEEK
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
265 { "win32", &mp_msg_levels
[MSGT_WIN32
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
266 { "open", &mp_msg_levels
[MSGT_OPEN
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
267 { "dvd", &mp_msg_levels
[MSGT_DVD
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
268 { "parsees", &mp_msg_levels
[MSGT_PARSEES
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
269 { "lirc", &mp_msg_levels
[MSGT_LIRC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
270 { "stream", &mp_msg_levels
[MSGT_STREAM
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
271 { "cache", &mp_msg_levels
[MSGT_CACHE
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
272 { "mencoder", &mp_msg_levels
[MSGT_MENCODER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
273 { "xacodec", &mp_msg_levels
[MSGT_XACODEC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
274 { "tv", &mp_msg_levels
[MSGT_TV
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
275 { "radio", &mp_msg_levels
[MSGT_RADIO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
276 { "osdep", &mp_msg_levels
[MSGT_OSDEP
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
277 { "spudec", &mp_msg_levels
[MSGT_SPUDEC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
278 { "playtree", &mp_msg_levels
[MSGT_PLAYTREE
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
279 { "input", &mp_msg_levels
[MSGT_INPUT
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
280 { "vfilter", &mp_msg_levels
[MSGT_VFILTER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
281 { "osd", &mp_msg_levels
[MSGT_OSD
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
282 { "network", &mp_msg_levels
[MSGT_NETWORK
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
283 { "cpudetect", &mp_msg_levels
[MSGT_CPUDETECT
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
284 { "codeccfg", &mp_msg_levels
[MSGT_CODECCFG
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
285 { "sws", &mp_msg_levels
[MSGT_SWS
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
286 { "vobsub", &mp_msg_levels
[MSGT_VOBSUB
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
287 { "subreader", &mp_msg_levels
[MSGT_SUBREADER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
288 { "afilter", &mp_msg_levels
[MSGT_AFILTER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
289 { "netst", &mp_msg_levels
[MSGT_NETST
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
290 { "muxer", &mp_msg_levels
[MSGT_MUXER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
291 { "osd-menu", &mp_msg_levels
[MSGT_OSD_MENU
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
292 { "identify", &mp_msg_levels
[MSGT_IDENTIFY
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
293 { "ass", &mp_msg_levels
[MSGT_ASS
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
294 { "statusline", &mp_msg_levels
[MSGT_STATUSLINE
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
295 {"help", "Available msg modules:\n"
296 " global - common player errors/information\n"
297 " cplayer - console player (mplayer.c)\n"
298 " gplayer - gui player\n"
301 " demuxer - demuxer.c (general stuff)\n"
302 " ds - demux stream (add/read packet etc)\n"
303 " demux - fileformat-specific stuff (demux_*.c)\n"
304 " header - fileformat-specific header (*header.c)\n"
305 " avsync - mplayer.c timer stuff\n"
306 " autoq - mplayer.c auto-quality stuff\n"
307 " cfgparser - cfgparser.c\n"
308 " decaudio - av decoder\n"
310 " seek - seeking code\n"
311 " win32 - win32 dll stuff\n"
312 " open - open.c (stream opening)\n"
313 " dvd - open.c (DVD init/read/seek)\n"
314 " parsees - parse_es.c (mpeg stream parser)\n"
315 " lirc - lirc_mp.c and input lirc driver\n"
316 " stream - stream.c\n"
317 " cache - cache2.c\n"
319 " xacodec - XAnim codecs\n"
320 " tv - TV input subsystem\n"
321 " osdep - OS-dependent parts\n"
322 " spudec - spudec.c\n"
323 " playtree - Playtree handling (playtree.c, playtreeparser.c)\n"
333 " osd-menu - OSD menu messages\n"
334 " afilter - Audio filter messages\n"
335 " netst - Netstream\n"
336 " muxer - muxer layer\n"
337 " identify - identify output\n"
338 " ass - libass messages\n"
339 " statusline - playback/encoding status line\n"
340 "\n", CONF_TYPE_PRINT
, CONF_NOCFG
, 0, 0, NULL
},
341 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
345 #if defined(__MINGW32__) || defined(__CYGWIN__)
349 } priority_presets_defs
[] = {
350 { "realtime", REALTIME_PRIORITY_CLASS
},
351 { "high", HIGH_PRIORITY_CLASS
},
352 #ifdef ABOVE_NORMAL_PRIORITY_CLASS
353 { "abovenormal", ABOVE_NORMAL_PRIORITY_CLASS
},
355 { "normal", NORMAL_PRIORITY_CLASS
},
356 #ifdef BELOW_NORMAL_PRIORITY_CLASS
357 { "belownormal", BELOW_NORMAL_PRIORITY_CLASS
},
359 { "idle", IDLE_PRIORITY_CLASS
},
360 { NULL
, NORMAL_PRIORITY_CLASS
} /* default */
362 #endif /* defined(__MINGW32__) || defined(__CYGWIN__) */
364 extern const m_option_t noconfig_opts
[];
366 extern const m_option_t lavc_decode_opts_conf
[];
367 extern const m_option_t xvid_dec_opts
[];
369 int dvd_parse_chapter_range(const m_option_t
*, const char*);
371 #endif /* MPLAYER_CFG_COMMON_H */