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