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 /* USE_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(HAVE_TV_V4L2) || defined(HAVE_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(HAVE_TV_V4L) || defined(HAVE_TV_V4L2) || defined(HAVE_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(HAVE_TV_V4L) || defined(HAVE_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
},
116 #if defined(HAVE_ALSA9) || defined(HAVE_ALSA1X)
117 {"alsa", &stream_tv_defaults
.alsa
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
118 #endif /* defined(HAVE_ALSA9) || defined(HAVE_ALSA1X) */
119 #endif /* defined(HAVE_TV_V4L) || defined(HAVE_TV_V4L2) */
120 {"adevice", &stream_tv_defaults
.adevice
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
121 #ifdef HAVE_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 /* HAVE_TV_TELETEXT */
127 {"audioid", &stream_tv_defaults
.audio_id
, CONF_TYPE_INT
, CONF_RANGE
, 0, 9, NULL
},
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
}
143 extern int pvr_param_aspect_ratio
;
144 extern int pvr_param_sample_rate
;
145 extern int pvr_param_audio_layer
;
146 extern int pvr_param_audio_bitrate
;
147 extern char *pvr_param_audio_mode
;
148 extern int pvr_param_bitrate
;
149 extern char *pvr_param_bitrate_mode
;
150 extern int pvr_param_bitrate_peak
;
151 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 /* HAVE_PVR */
167 #ifdef HAS_DVBIN_SUPPORT
168 #include "stream/dvbin.h"
169 extern const m_config_t dvbin_opts_conf
[];
172 extern const m_option_t lavfdopts_conf
[];
174 extern int rtspStreamOverTCP
;
175 extern int rtsp_transport_tcp
;
176 extern int rtsp_transport_sctp
;
177 extern int rtsp_port
;
178 extern char *rtsp_destination
;
181 extern int audio_stream_cache
;
183 extern int sws_chr_vshift
;
184 extern int sws_chr_hshift
;
185 extern float sws_chr_gblur
;
186 extern float sws_lum_gblur
;
187 extern float sws_chr_sharpen
;
188 extern float sws_lum_sharpen
;
190 const m_option_t scaler_filter_conf
[]={
191 {"lgb", &sws_lum_gblur
, CONF_TYPE_FLOAT
, 0, 0, 100.0, NULL
},
192 {"cgb", &sws_chr_gblur
, CONF_TYPE_FLOAT
, 0, 0, 100.0, NULL
},
193 {"cvs", &sws_chr_vshift
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
194 {"chs", &sws_chr_hshift
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
195 {"ls", &sws_lum_sharpen
, CONF_TYPE_FLOAT
, 0, -100.0, 100.0, NULL
},
196 {"cs", &sws_chr_sharpen
, CONF_TYPE_FLOAT
, 0, -100.0, 100.0, NULL
},
197 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
200 /* VIVO demuxer options: */
201 extern int vivo_param_version
;
202 extern char *vivo_param_acodec
;
203 extern int vivo_param_abitrate
;
204 extern int vivo_param_samplerate
;
205 extern int vivo_param_bytesperblock
;
206 extern int vivo_param_width
;
207 extern int vivo_param_height
;
208 extern int vivo_param_vformat
;
209 extern char *dvd_device
, *cdrom_device
;
211 const m_option_t vivoopts_conf
[]={
212 {"version", &vivo_param_version
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
214 {"acodec", &vivo_param_acodec
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
215 {"abitrate", &vivo_param_abitrate
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
216 {"samplerate", &vivo_param_samplerate
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
217 {"bytesperblock", &vivo_param_bytesperblock
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
219 {"width", &vivo_param_width
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
220 {"height", &vivo_param_height
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
221 {"vformat", &vivo_param_vformat
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
222 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
227 extern double mf_fps
;
228 extern char * mf_type
;
229 extern m_obj_list_t vf_obj_list
;
231 const m_option_t mfopts_conf
[]={
232 {"on", "-mf on has been removed, use mf:// instead.\n", CONF_TYPE_PRINT
, 0, 0, 1, NULL
},
233 {"w", &mf_w
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
234 {"h", &mf_h
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
235 {"fps", &mf_fps
, CONF_TYPE_DOUBLE
, 0, 0, 0, NULL
},
236 {"type", &mf_type
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
237 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
240 #include "libaf/af.h"
241 extern af_cfg_t af_cfg
; // Audio filter configuration, defined in libmpcodecs/dec_audio.c
242 const m_option_t audio_filter_conf
[]={
243 {"list", &af_cfg
.list
, CONF_TYPE_STRING_LIST
, 0, 0, 0, NULL
},
244 {"force", &af_cfg
.force
, CONF_TYPE_INT
, CONF_RANGE
, 0, 7, NULL
},
245 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
248 extern int mp_msg_levels
[MSGT_MAX
];
249 extern int mp_msg_level_all
;
251 const m_option_t msgl_config
[]={
252 { "all", &mp_msg_level_all
, CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
254 { "global", &mp_msg_levels
[MSGT_GLOBAL
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
255 { "cplayer", &mp_msg_levels
[MSGT_CPLAYER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
256 { "gplayer", &mp_msg_levels
[MSGT_GPLAYER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
257 { "vo", &mp_msg_levels
[MSGT_VO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
258 { "ao", &mp_msg_levels
[MSGT_AO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
259 { "demuxer", &mp_msg_levels
[MSGT_DEMUXER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
260 { "ds", &mp_msg_levels
[MSGT_DS
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
261 { "demux", &mp_msg_levels
[MSGT_DEMUX
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
262 { "header", &mp_msg_levels
[MSGT_HEADER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
263 { "avsync", &mp_msg_levels
[MSGT_AVSYNC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
264 { "autoq", &mp_msg_levels
[MSGT_AUTOQ
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
265 { "cfgparser", &mp_msg_levels
[MSGT_CFGPARSER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
266 { "decaudio", &mp_msg_levels
[MSGT_DECAUDIO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
267 { "decvideo", &mp_msg_levels
[MSGT_DECVIDEO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
268 { "seek", &mp_msg_levels
[MSGT_SEEK
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
269 { "win32", &mp_msg_levels
[MSGT_WIN32
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
270 { "open", &mp_msg_levels
[MSGT_OPEN
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
271 { "dvd", &mp_msg_levels
[MSGT_DVD
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
272 { "parsees", &mp_msg_levels
[MSGT_PARSEES
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
273 { "lirc", &mp_msg_levels
[MSGT_LIRC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
274 { "stream", &mp_msg_levels
[MSGT_STREAM
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
275 { "cache", &mp_msg_levels
[MSGT_CACHE
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
276 { "mencoder", &mp_msg_levels
[MSGT_MENCODER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
277 { "xacodec", &mp_msg_levels
[MSGT_XACODEC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
278 { "tv", &mp_msg_levels
[MSGT_TV
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
279 { "radio", &mp_msg_levels
[MSGT_RADIO
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
280 { "osdep", &mp_msg_levels
[MSGT_OSDEP
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
281 { "spudec", &mp_msg_levels
[MSGT_SPUDEC
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
282 { "playtree", &mp_msg_levels
[MSGT_PLAYTREE
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
283 { "input", &mp_msg_levels
[MSGT_INPUT
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
284 { "vfilter", &mp_msg_levels
[MSGT_VFILTER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
285 { "osd", &mp_msg_levels
[MSGT_OSD
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
286 { "network", &mp_msg_levels
[MSGT_NETWORK
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
287 { "cpudetect", &mp_msg_levels
[MSGT_CPUDETECT
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
288 { "codeccfg", &mp_msg_levels
[MSGT_CODECCFG
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
289 { "sws", &mp_msg_levels
[MSGT_SWS
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
290 { "vobsub", &mp_msg_levels
[MSGT_VOBSUB
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
291 { "subreader", &mp_msg_levels
[MSGT_SUBREADER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
292 { "afilter", &mp_msg_levels
[MSGT_AFILTER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
293 { "netst", &mp_msg_levels
[MSGT_NETST
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
294 { "muxer", &mp_msg_levels
[MSGT_MUXER
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
295 { "osd-menu", &mp_msg_levels
[MSGT_OSD_MENU
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
296 { "identify", &mp_msg_levels
[MSGT_IDENTIFY
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
297 { "ass", &mp_msg_levels
[MSGT_ASS
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
298 { "statusline", &mp_msg_levels
[MSGT_STATUSLINE
], CONF_TYPE_INT
, CONF_RANGE
, -1, 9, NULL
},
299 {"help", "Available msg modules:\n"
300 " global - common player errors/information\n"
301 " cplayer - console player (mplayer.c)\n"
302 " gplayer - gui player\n"
305 " demuxer - demuxer.c (general stuff)\n"
306 " ds - demux stream (add/read packet etc)\n"
307 " demux - fileformat-specific stuff (demux_*.c)\n"
308 " header - fileformat-specific header (*header.c)\n"
309 " avsync - mplayer.c timer stuff\n"
310 " autoq - mplayer.c auto-quality stuff\n"
311 " cfgparser - cfgparser.c\n"
312 " decaudio - av decoder\n"
314 " seek - seeking code\n"
315 " win32 - win32 dll stuff\n"
316 " open - open.c (stream opening)\n"
317 " dvd - open.c (DVD init/read/seek)\n"
318 " parsees - parse_es.c (mpeg stream parser)\n"
319 " lirc - lirc_mp.c and input lirc driver\n"
320 " stream - stream.c\n"
321 " cache - cache2.c\n"
323 " xacodec - XAnim codecs\n"
324 " tv - TV input subsystem\n"
325 " osdep - OS-dependent parts\n"
326 " spudec - spudec.c\n"
327 " playtree - Playtree handling (playtree.c, playtreeparser.c)\n"
337 " osd-menu - OSD menu messages\n"
338 " afilter - Audio filter messages\n"
339 " netst - Netstream\n"
340 " muxer - muxer layer\n"
341 " identify - identify output\n"
342 " ass - libass messages\n"
343 " statusline - playback/encoding status line\n"
344 "\n", CONF_TYPE_PRINT
, CONF_NOCFG
, 0, 0, NULL
},
345 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
351 extern char * proc_priority
;
356 } priority_presets_defs
[] = {
357 { "realtime", REALTIME_PRIORITY_CLASS
},
358 { "high", HIGH_PRIORITY_CLASS
},
359 #ifdef ABOVE_NORMAL_PRIORITY_CLASS
360 { "abovenormal", ABOVE_NORMAL_PRIORITY_CLASS
},
362 { "normal", NORMAL_PRIORITY_CLASS
},
363 #ifdef BELOW_NORMAL_PRIORITY_CLASS
364 { "belownormal", BELOW_NORMAL_PRIORITY_CLASS
},
366 { "idle", IDLE_PRIORITY_CLASS
},
367 { NULL
, NORMAL_PRIORITY_CLASS
} /* default */
371 extern const m_option_t noconfig_opts
[];
373 extern const m_option_t lavc_decode_opts_conf
[];
374 extern const m_option_t xvid_dec_opts
[];
376 int dvd_parse_chapter_range(const m_option_t
*, const char*);
378 #endif /* MPLAYER_CFG_COMMON_H */