synced with r20176
[mplayer/glamo.git] / cfg-common.h
blob780df38905ea1f2447198efadd71577408ca565e
1 #ifdef MAIN_CONF /* this will be included in conf[] */
3 // ------------------------- common options --------------------
4 {"quiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
5 {"noquiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
6 {"really-quiet", &verbose, CONF_TYPE_FLAG, CONF_GLOBAL, 0, -10, NULL},
7 {"v", cfg_inc_verbose, CONF_TYPE_FUNC, CONF_GLOBAL|CONF_NOSAVE, 0, 0, NULL},
8 {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
9 #ifdef USE_ICONV
10 {"msgcharset", &mp_msg_charset, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
11 #endif
12 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL},
13 #ifdef WIN32
14 {"priority", &proc_priority, CONF_TYPE_STRING, 0, 0, 0, NULL},
15 #endif
17 // ------------------------- stream options --------------------
19 #ifdef USE_STREAM_CACHE
20 {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 32, 1048576, NULL},
21 {"nocache", &stream_cache_size, CONF_TYPE_FLAG, 0, 1, 0, NULL},
22 {"cache-min", &stream_cache_min_percent, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
23 {"cache-seek-min", &stream_cache_seek_min_percent, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
24 #else
25 {"cache", "MPlayer was compiled without cache2 support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
26 #endif
27 {"vcd", "-vcd N is deprecated, use vcd://N instead.\n", CONF_TYPE_PRINT, CONF_NOCFG ,0,0, NULL},
28 {"cuefile", "-cuefile is deprecated, use cue://filename:N where N is the track number.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
29 {"cdrom-device", &cdrom_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
30 #if defined(USE_DVDREAD) || defined(USE_DVDNAV)
31 {"dvd-device", &dvd_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
32 #else
33 {"dvd-device", "MPlayer was compiled without libdvdread support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
34 #endif
35 #ifdef USE_DVDREAD
36 {"dvd", "-dvd N is deprecated, use dvd://N instead.\n" , CONF_TYPE_PRINT, 0, 0, 0, NULL},
37 {"dvdangle", &dvd_angle, CONF_TYPE_INT, CONF_RANGE, 1, 99, NULL},
38 {"chapter", dvd_parse_chapter_range, CONF_TYPE_FUNC_PARAM, 0, 0, 0, NULL},
39 #else
40 {"dvd", "MPlayer was compiled without libdvdread support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
41 #endif
42 {"alang", &audio_lang, CONF_TYPE_STRING, 0, 0, 0, NULL},
43 {"slang", &dvdsub_lang, CONF_TYPE_STRING, 0, 0, 0, NULL},
45 {"dvdauth", "libcss is obsolete. Try libdvdread instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
46 {"dvdkey", "libcss is obsolete. Try libdvdread instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
47 {"csslib", "libcss is obsolete. Try libdvdread instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
49 #ifdef MPLAYER_NETWORK
50 {"user", &network_username, CONF_TYPE_STRING, 0, 0, 0, NULL},
51 {"passwd", &network_password, CONF_TYPE_STRING, 0, 0, 0, NULL},
52 {"bandwidth", &network_bandwidth, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
53 {"user-agent", &network_useragent, CONF_TYPE_STRING, 0, 0, 0, NULL},
54 {"cookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL},
55 {"nocookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 1, 0, NULL},
56 {"cookies-file", &cookies_file, CONF_TYPE_STRING, 0, 0, 0, NULL},
57 {"prefer-ipv4", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 0, 1, NULL},
58 {"ipv4-only-proxy", &network_ipv4_only_proxy, CONF_TYPE_FLAG, 0, 0, 1, NULL},
59 #ifdef HAVE_AF_INET6
60 {"prefer-ipv6", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 1, 0, NULL},
61 #else
62 {"prefer-ipv6", "MPlayer was compiled without IPv6 support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
63 #endif
65 #else
66 {"user", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
67 {"passwd", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
68 {"bandwidth", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
69 {"user-agent", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
70 #endif
72 #ifdef STREAMING_LIVE555
73 {"sdp", "-sdp is obsolete, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
74 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
75 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL},
76 #else
77 {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
78 #endif
79 #ifdef MPLAYER_NETWORK
80 {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL},
81 {"rtsp-destination", &rtsp_destination, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL},
82 #else
83 {"rtsp-port", "MPlayer was compiled without network support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
84 {"rtsp-destination", "MPlayer was compiled without network support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
85 #endif
87 // ------------------------- demuxer options --------------------
89 // number of frames to play/convert
90 {"frames", &play_n_frames_mf, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
92 // seek to byte/seconds position
93 {"sb", &seek_to_byte, CONF_TYPE_POSITION, CONF_MIN, 0, 0, NULL},
94 {"ss", &seek_to_sec, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL},
96 // stop at given position
97 {"endpos", &end_at, CONF_TYPE_TIME_SIZE, 0, 0, 0, NULL},
99 {"edl", &edl_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
101 // AVI specific: force non-interleaved mode
102 {"ni", &force_ni, CONF_TYPE_FLAG, 0, 0, 1, NULL},
103 {"noni", &force_ni, CONF_TYPE_FLAG, 0, 1, 0, NULL},
105 // AVI and Ogg only: (re)build index at startup
106 {"noidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 0, NULL},
107 {"idx", &index_mode, CONF_TYPE_FLAG, 0, -1, 1, NULL},
108 {"forceidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 2, NULL},
109 {"saveidx", &index_file_save, CONF_TYPE_STRING, 0, 0, 0, NULL},
110 {"loadidx", &index_file_load, CONF_TYPE_STRING, 0, 0, 0, NULL},
112 // select audio/video/subtitle stream
113 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 8190, NULL},
114 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 8190, NULL},
115 {"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 8190, NULL},
116 {"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
118 { "hr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 0, 1, NULL },
119 { "nohr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 1, 0, NULL},
121 { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
122 { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
124 #ifdef HAVE_CDDA
125 { "cdda", &cdda_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
126 #endif
128 // demuxer.c - select audio/sub file/demuxer
129 { "audiofile", &audio_stream, CONF_TYPE_STRING, 0, 0, 0, NULL },
130 { "audiofile-cache", &audio_stream_cache, CONF_TYPE_INT, CONF_RANGE, 50, 65536, NULL},
131 { "subfile", &sub_stream, CONF_TYPE_STRING, 0, 0, 0, NULL },
132 { "demuxer", &demuxer_name, CONF_TYPE_STRING, 0, 0, 0, NULL },
133 { "audio-demuxer", &audio_demuxer_name, CONF_TYPE_STRING, 0, 0, 0, NULL },
134 { "sub-demuxer", &sub_demuxer_name, CONF_TYPE_STRING, 0, 0, 0, NULL },
135 { "extbased", &extension_parsing, CONF_TYPE_FLAG, 0, 0, 1, NULL },
136 { "noextbased", &extension_parsing, CONF_TYPE_FLAG, 0, 1, 0, NULL },
138 {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL},
139 #ifdef USE_RADIO
140 {"radio", radioopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
141 #else
142 {"radio", "MPlayer was compiled without Radio interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
143 #endif
144 #ifdef USE_TV
145 {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
146 #else
147 {"tv", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
148 #endif
149 #ifdef HAVE_PVR
150 {"pvr", pvropts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
151 #else
152 {"pvr", "MPlayer was compiled without V4L2/PVR interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
153 #endif
154 {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
155 #ifdef HAS_DVBIN_SUPPORT
156 {"dvbin", dvbin_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
157 #endif
159 // ------------------------- a-v sync options --------------------
161 // AVI specific: A-V sync mode (bps vs. interleaving)
162 {"bps", &pts_from_bps, CONF_TYPE_FLAG, 0, 0, 1, NULL},
163 {"nobps", &pts_from_bps, CONF_TYPE_FLAG, 0, 1, 0, NULL},
165 // set A-V sync correction speed (0=disables it):
166 {"mc", &default_max_pts_correction, CONF_TYPE_FLOAT, CONF_RANGE, 0, 100, NULL},
168 // force video/audio rate:
169 {"fps", &force_fps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0, NULL},
170 {"srate", &force_srate, CONF_TYPE_INT, CONF_RANGE, 1000, 8*48000, NULL},
171 {"channels", &audio_output_channels, CONF_TYPE_INT, CONF_RANGE, 1, 6, NULL},
172 {"format", &audio_output_format, CONF_TYPE_AFMT, 0, 0, 0, NULL},
173 {"speed", &playback_speed, CONF_TYPE_FLOAT, CONF_RANGE, 0.01, 100.0, NULL},
175 // set a-v distance
176 {"delay", &audio_delay, CONF_TYPE_FLOAT, CONF_RANGE, -100.0, 100.0, NULL},
178 // ignore header-specified delay (dwStart)
179 {"ignore-start", &ignore_start, CONF_TYPE_FLAG, 0, 0, 1, NULL},
180 {"noignore-start", &ignore_start, CONF_TYPE_FLAG, 0, 1, 0, NULL},
182 #ifdef USE_LIBA52
183 {"a52drc", &a52_drc_level, CONF_TYPE_FLOAT, CONF_RANGE, 0, 1, NULL},
184 #endif
186 // ------------------------- codec/vfilter options --------------------
188 // MP3-only: select stereo/left/right
189 #ifdef USE_FAKE_MONO
190 {"stereo", &fakemono, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL},
191 #endif
193 // disable audio
194 {"sound", &audio_id, CONF_TYPE_FLAG, 0, -2, -1, NULL},
195 {"nosound", &audio_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
197 {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
198 {"af", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
200 {"vop*", &vo_plugin_args, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0,&vf_obj_list },
201 {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list},
202 // select audio/video codec (by name) or codec family (by number):
203 // {"afm", &audio_family, CONF_TYPE_INT, CONF_MIN, 0, 22, NULL}, // keep ranges in sync
204 // {"vfm", &video_family, CONF_TYPE_INT, CONF_MIN, 0, 29, NULL}, // with codec-cfg.c
205 // {"afm", &audio_fm, CONF_TYPE_STRING, 0, 0, 0, NULL},
206 {"afm", &audio_fm_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
207 {"vfm", &video_fm_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
208 // {"ac", &audio_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},
209 {"ac", &audio_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
210 {"vc", &video_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
212 // postprocessing:
213 #ifdef USE_LIBAVCODEC
214 {"pp", &divx_quality, CONF_TYPE_INT, 0, 0, 0, NULL},
215 #endif
216 #if defined(USE_LIBPOSTPROC) || defined(USE_LIBPOSTPROC_SO)
217 {"pphelp", &pp_help, CONF_TYPE_PRINT_INDIRECT, CONF_NOCFG, 0, 0, NULL},
218 #endif
220 // scaling:
221 {"sws", &sws_flags, CONF_TYPE_INT, 0, 0, 2, NULL},
222 {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
223 {"zoom", &softzoom, CONF_TYPE_FLAG, 0, 0, 1, NULL},
224 {"nozoom", &softzoom, CONF_TYPE_FLAG, 0, 1, 0, NULL},
225 {"aspect", &movie_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 3.0, NULL},
226 {"noaspect", &movie_aspect, CONF_TYPE_FLAG, 0, 0, 0, NULL},
227 {"xy", &screen_size_xy, CONF_TYPE_FLOAT, CONF_RANGE, 0.001, 4096, NULL},
229 {"flip", &flip, CONF_TYPE_FLAG, 0, -1, 1, NULL},
230 {"noflip", &flip, CONF_TYPE_FLAG, 0, -1, 0, NULL},
231 {"tsfastparse", "-tsfastparse is no longer a valid option.\n", CONF_TYPE_PRINT, CONF_NOCFG ,0,0, NULL
233 {"tsprog", &ts_prog, CONF_TYPE_INT, CONF_RANGE, 0, 65534, NULL},
234 #define TS_MAX_PROBE_SIZE 2000000 /* don't forget to change this in libmpdemux/demux_ts.c too */
235 {"tsprobe", &ts_probe, CONF_TYPE_POSITION, 0, 0, TS_MAX_PROBE_SIZE, NULL},
236 {"tskeepbroken", &ts_keep_broken, CONF_TYPE_FLAG, 0, 0, 1, NULL},
238 // draw by slices or whole frame (useful with libmpeg2/libavcodec)
239 {"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL},
240 {"noslices", &vd_use_slices, CONF_TYPE_FLAG, 0, 1, 0, NULL},
242 #ifdef USE_LIBAVCODEC
243 {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
244 #endif
245 #if defined(USE_LIBAVFORMAT) || defined(USE_LIBAVFORMAT_SO)
246 {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
247 #endif
248 #if defined(HAVE_XVID3) || defined(HAVE_XVID4)
249 {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
250 #endif
251 {"codecs-file", &codecs_file, CONF_TYPE_STRING, 0, 0, 0, NULL},
252 // ------------------------- subtitles options --------------------
254 #ifdef USE_SUB
255 {"sub", &sub_name, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
256 #ifdef USE_FRIBIDI
257 {"fribidi-charset", &fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL},
258 {"flip-hebrew", &flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL},
259 {"noflip-hebrew", &flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL},
260 {"flip-hebrew-commas", &fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL},
261 {"noflip-hebrew-commas", &fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL},
262 #else
263 {"fribidi-charset", "MPlayer was compiled without FriBiDi support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
264 {"flip-hebrew", "MPlayer was compiled without FriBiDi support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
265 {"noflip-hebrew", "MPlayer was compiled without FriBiDi support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
266 {"flip-hebrew-commas", "MPlayer was compiled without FriBiDi support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
267 {"noflip-hebrew-commas", "MPlayer was compiled without FriBiDi support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
268 #endif
269 #ifdef USE_ICONV
270 {"subcp", &sub_cp, CONF_TYPE_STRING, 0, 0, 0, NULL},
271 #endif
272 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0, NULL},
273 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0, NULL},
274 {"autosub", &sub_auto, CONF_TYPE_FLAG, 0, 0, 1, NULL},
275 {"noautosub", &sub_auto, CONF_TYPE_FLAG, 0, 1, 0, NULL},
276 {"unicode", &sub_unicode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
277 {"nounicode", &sub_unicode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
278 {"utf8", &sub_utf8, CONF_TYPE_FLAG, 0, 0, 1, NULL},
279 {"noutf8", &sub_utf8, CONF_TYPE_FLAG, 0, 1, 0, NULL},
280 {"forcedsubsonly", &forced_subs_only, CONF_TYPE_FLAG, 0, 0, 1, NULL},
281 // specify IFO file for VOBSUB subtitle
282 {"ifo", &spudec_ifo, CONF_TYPE_STRING, 0, 0, 0, NULL},
283 // enable Closed Captioning display
284 {"subcc", &subcc_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL},
285 {"nosubcc", &subcc_enabled, CONF_TYPE_FLAG, 0, 1, 0, NULL},
286 {"overlapsub", &suboverlap_enabled, CONF_TYPE_FLAG, 0, 0, 2, NULL},
287 {"nooverlapsub", &suboverlap_enabled, CONF_TYPE_FLAG, 0, 0, 0, NULL},
288 {"sub-bg-color", &sub_bg_color, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL},
289 {"sub-bg-alpha", &sub_bg_alpha, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL},
290 {"sub-no-text-pp", &sub_no_text_pp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
291 {"sub-fuzziness", &sub_match_fuzziness, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL},
292 #endif
293 #ifdef USE_OSD
294 {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
295 {"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0, NULL},
296 {"subpos", &sub_pos, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
297 {"subalign", &sub_alignment, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL},
298 {"subwidth", &sub_width_p, CONF_TYPE_INT, CONF_RANGE, 10, 100, NULL},
299 {"spualign", &spu_alignment, CONF_TYPE_INT, CONF_RANGE, -1, 2, NULL},
300 {"spuaa", &spu_aamode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
301 {"spugauss", &spu_gaussvar, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 3.0, NULL},
302 #ifdef HAVE_FREETYPE
303 {"subfont-encoding", &subtitle_font_encoding, CONF_TYPE_STRING, 0, 0, 0, NULL},
304 {"subfont-text-scale", &text_font_scale_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0, 100, NULL},
305 {"subfont-osd-scale", &osd_font_scale_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0, 100, NULL},
306 {"subfont-blur", &subtitle_font_radius, CONF_TYPE_FLOAT, CONF_RANGE, 0, 8, NULL},
307 {"subfont-outline", &subtitle_font_thickness, CONF_TYPE_FLOAT, CONF_RANGE, 0, 8, NULL},
308 {"subfont-autoscale", &subtitle_autoscale, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
309 #endif
310 #ifdef USE_ASS
311 {"ass", &ass_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL},
312 {"noass", &ass_enabled, CONF_TYPE_FLAG, 0, 1, 0, NULL},
313 {"ass-font-scale", &ass_font_scale, CONF_TYPE_FLOAT, CONF_RANGE, 0, 100, NULL},
314 {"ass-line-spacing", &ass_line_spacing, CONF_TYPE_FLOAT, CONF_RANGE, -1000, 1000, NULL},
315 {"ass-top-margin", &ass_top_margin, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
316 {"ass-bottom-margin", &ass_bottom_margin, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
317 {"ass-use-margins", &ass_use_margins, CONF_TYPE_FLAG, 0, 0, 1, NULL},
318 {"noass-use-margins", &ass_use_margins, CONF_TYPE_FLAG, 0, 1, 0, NULL},
319 {"embeddedfonts", &extract_embedded_fonts, CONF_TYPE_FLAG, 0, 0, 1, NULL},
320 {"noembeddedfonts", &extract_embedded_fonts, CONF_TYPE_FLAG, 0, 1, 0, NULL},
321 {"ass-force-style", &ass_force_style_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
322 {"ass-color", &ass_color, CONF_TYPE_STRING, 0, 0, 0, NULL},
323 {"ass-border-color", &ass_border_color, CONF_TYPE_STRING, 0, 0, 0, NULL},
324 {"ass-styles", &ass_styles_file, CONF_TYPE_STRING, 0, 0, 0, NULL},
325 #endif
326 #ifdef HAVE_FONTCONFIG
327 {"fontconfig", &font_fontconfig, CONF_TYPE_FLAG, 0, 0, 1, NULL},
328 {"nofontconfig", &font_fontconfig, CONF_TYPE_FLAG, 0, 1, 0, NULL},
329 #else
330 {"fontconfig", "MPlayer was compiled without fontconfig support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
331 {"nofontconfig", "MPlayer was compiled without fontconfig support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
332 #endif
333 #endif
335 #else
337 #include "config.h"
339 extern int quiet;
340 extern int verbose;
341 extern char *mp_msg_charset;
343 // codec/filter opts: (defined at libmpcodecs/vd.c)
344 extern float screen_size_xy;
345 extern float movie_aspect;
346 extern int softzoom;
347 extern int flip;
348 extern int vd_use_slices;
349 extern int divx_quality;
351 /* defined in codec-cfg.c */
352 extern char * codecs_file;
354 /* from dec_audio, currently used for ac3surround decoder only */
355 extern int audio_output_channels;
357 #ifdef MPLAYER_NETWORK
358 /* defined in network.c */
359 extern char *network_username;
360 extern char *network_password;
361 extern int network_bandwidth;
362 extern char *network_useragent;
363 extern int network_cookies_enabled;
364 extern char *cookies_file;
366 extern int network_prefer_ipv4;
367 extern int network_ipv4_only_proxy;
369 #endif
371 extern float a52_drc_level;
373 /* defined in libmpdemux: */
374 extern int hr_mp3_seek;
375 extern m_option_t demux_rawaudio_opts[];
376 extern m_option_t demux_rawvideo_opts[];
377 extern m_option_t cdda_opts[];
379 extern char* audio_stream;
380 extern char* sub_stream;
381 extern int demuxer_type, audio_demuxer_type, sub_demuxer_type;
382 extern int ts_prog;
383 extern int ts_keep_broken;
384 extern off_t ts_probe;
386 #include "stream/tv.h"
387 #include "stream/stream_radio.h"
389 extern char* edl_filename;
390 extern char* edl_output_filename;
393 #ifdef USE_RADIO
394 m_option_t radioopts_conf[]={
395 {"device", &radio_param_device, CONF_TYPE_STRING, 0, 0 ,0, NULL},
396 {"driver", &radio_param_driver, CONF_TYPE_STRING, 0, 0 ,0, NULL},
397 {"channels", &radio_param_channels, CONF_TYPE_STRING_LIST, 0, 0 ,0, NULL},
398 {"volume", &radio_param_volume, CONF_TYPE_INT, CONF_RANGE, 0 ,100, NULL},
399 {"adevice", &radio_param_adevice, CONF_TYPE_STRING, 0, 0 ,0, NULL},
400 {"arate", &radio_param_arate, CONF_TYPE_INT, CONF_MIN, 0 ,0, NULL},
401 {"achannels", &radio_param_achannels, CONF_TYPE_INT, CONF_MIN, 0 ,0, NULL},
402 {NULL, NULL, 0, 0, 0, 0, NULL}
404 #endif
406 #ifdef USE_TV
407 m_option_t tvopts_conf[]={
408 {"on", "-tv on is deprecated, use tv:// instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
409 {"immediatemode", &tv_param_immediate, CONF_TYPE_INT, CONF_RANGE, 0, 1, NULL},
410 {"noaudio", &tv_param_noaudio, CONF_TYPE_FLAG, 0, 0, 1, NULL},
411 {"audiorate", &tv_param_audiorate, CONF_TYPE_INT, 0, 0, 0, NULL},
412 {"driver", &tv_param_driver, CONF_TYPE_STRING, 0, 0, 0, NULL},
413 {"device", &tv_param_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
414 {"freq", &tv_param_freq, CONF_TYPE_STRING, 0, 0, 0, NULL},
415 {"channel", &tv_param_channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
416 {"chanlist", &tv_param_chanlist, CONF_TYPE_STRING, 0, 0, 0, NULL},
417 {"norm", &tv_param_norm, CONF_TYPE_STRING, 0, 0, 0, NULL},
418 #ifdef HAVE_TV_V4L2
419 {"normid", &tv_param_normid, CONF_TYPE_INT, 0, 0, 0, NULL},
420 #endif
421 {"width", &tv_param_width, CONF_TYPE_INT, 0, 0, 4096, NULL},
422 {"height", &tv_param_height, CONF_TYPE_INT, 0, 0, 4096, NULL},
423 {"input", &tv_param_input, CONF_TYPE_INT, 0, 0, 20, NULL},
424 {"outfmt", &tv_param_outfmt, CONF_TYPE_IMGFMT, 0, 0, 0, NULL},
425 {"fps", &tv_param_fps, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
426 {"channels", &tv_param_channels, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
427 {"brightness", &tv_param_brightness, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
428 {"contrast", &tv_param_contrast, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
429 {"hue", &tv_param_hue, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
430 {"saturation", &tv_param_saturation, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
431 #if defined(HAVE_TV_V4L) || defined(HAVE_TV_V4L2)
432 {"amode", &tv_param_amode, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
433 {"volume", &tv_param_volume, CONF_TYPE_INT, CONF_RANGE, 0, 65535, NULL},
434 {"bass", &tv_param_bass, CONF_TYPE_INT, CONF_RANGE, 0, 65535, NULL},
435 {"treble", &tv_param_treble, CONF_TYPE_INT, CONF_RANGE, 0, 65535, NULL},
436 {"balance", &tv_param_balance, CONF_TYPE_INT, CONF_RANGE, 0, 65535, NULL},
437 {"forcechan", &tv_param_forcechan, CONF_TYPE_INT, CONF_RANGE, 1, 2, NULL},
438 {"forceaudio", &tv_param_force_audio, CONF_TYPE_FLAG, 0, 0, 1, NULL},
439 {"buffersize", &tv_param_buffer_size, CONF_TYPE_INT, CONF_RANGE, 16, 1024, NULL},
440 {"mjpeg", &tv_param_mjpeg, CONF_TYPE_FLAG, 0, 0, 1, NULL},
441 {"decimation", &tv_param_decimation, CONF_TYPE_INT, CONF_RANGE, 1, 4, NULL},
442 {"quality", &tv_param_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
443 #if defined(HAVE_ALSA9) || defined(HAVE_ALSA1X)
444 {"alsa", &tv_param_alsa, CONF_TYPE_FLAG, 0, 0, 1, NULL},
445 #endif
446 {"adevice", &tv_param_adevice, CONF_TYPE_STRING, 0, 0, 0, NULL},
447 #endif
448 {"audioid", &tv_param_audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 9, NULL},
449 {NULL, NULL, 0, 0, 0, 0, NULL}
451 #endif
453 #ifdef HAVE_PVR
454 extern int pvr_param_aspect_ratio;
455 extern int pvr_param_sample_rate;
456 extern int pvr_param_audio_layer;
457 extern int pvr_param_audio_bitrate;
458 extern char *pvr_param_audio_mode;
459 extern int pvr_param_bitrate;
460 extern char *pvr_param_bitrate_mode;
461 extern int pvr_param_bitrate_peak;
462 extern char *pvr_param_stream_type;
464 m_option_t pvropts_conf[]={
465 {"aspect", &pvr_param_aspect_ratio, CONF_TYPE_INT, 0, 1, 4, NULL},
466 {"arate", &pvr_param_sample_rate, CONF_TYPE_INT, 0, 32000, 48000, NULL},
467 {"alayer", &pvr_param_audio_layer, CONF_TYPE_INT, 0, 1, 2, NULL},
468 {"abitrate", &pvr_param_audio_bitrate, CONF_TYPE_INT, 0, 32, 448, NULL},
469 {"amode", &pvr_param_audio_mode, CONF_TYPE_STRING, 0, 0, 0, NULL},
470 {"vbitrate", &pvr_param_bitrate, CONF_TYPE_INT, 0, 0, 0, NULL},
471 {"vmode", &pvr_param_bitrate_mode, CONF_TYPE_STRING, 0, 0, 0, NULL},
472 {"vpeak", &pvr_param_bitrate_peak, CONF_TYPE_INT, 0, 0, 0, NULL},
473 {"fmt", &pvr_param_stream_type, CONF_TYPE_STRING, 0, 0, 0, NULL},
474 {NULL, NULL, 0, 0, 0, 0, NULL}
476 #endif
478 #ifdef HAS_DVBIN_SUPPORT
479 #include "stream/dvbin.h"
480 extern m_config_t dvbin_opts_conf[];
481 #endif
483 #if defined(USE_LIBAVFORMAT) || defined(USE_LIBAVFORMAT_SO)
484 extern m_option_t lavfdopts_conf[];
485 #endif
487 #ifdef USE_FRIBIDI
488 extern char *fribidi_charset;
489 extern int flip_hebrew;
490 #endif
492 #ifdef STREAMING_LIVE555
493 extern int rtspStreamOverTCP;
494 #endif
495 extern int rtsp_port;
496 extern char *rtsp_destination;
499 extern int audio_stream_cache;
501 extern int sws_chr_vshift;
502 extern int sws_chr_hshift;
503 extern float sws_chr_gblur;
504 extern float sws_lum_gblur;
505 extern float sws_chr_sharpen;
506 extern float sws_lum_sharpen;
508 m_option_t scaler_filter_conf[]={
509 {"lgb", &sws_lum_gblur, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
510 {"cgb", &sws_chr_gblur, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
511 {"cvs", &sws_chr_vshift, CONF_TYPE_INT, 0, 0, 0, NULL},
512 {"chs", &sws_chr_hshift, CONF_TYPE_INT, 0, 0, 0, NULL},
513 {"ls", &sws_lum_sharpen, CONF_TYPE_FLOAT, 0, -100.0, 100.0, NULL},
514 {"cs", &sws_chr_sharpen, CONF_TYPE_FLOAT, 0, -100.0, 100.0, NULL},
515 {NULL, NULL, 0, 0, 0, 0, NULL}
518 /* VIVO demuxer options: */
519 extern int vivo_param_version;
520 extern char *vivo_param_acodec;
521 extern int vivo_param_abitrate;
522 extern int vivo_param_samplerate;
523 extern int vivo_param_bytesperblock;
524 extern int vivo_param_width;
525 extern int vivo_param_height;
526 extern int vivo_param_vformat;
527 extern char *dvd_device, *cdrom_device;
529 m_option_t vivoopts_conf[]={
530 {"version", &vivo_param_version, CONF_TYPE_INT, 0, 0, 0, NULL},
531 /* audio options */
532 {"acodec", &vivo_param_acodec, CONF_TYPE_STRING, 0, 0, 0, NULL},
533 {"abitrate", &vivo_param_abitrate, CONF_TYPE_INT, 0, 0, 0, NULL},
534 {"samplerate", &vivo_param_samplerate, CONF_TYPE_INT, 0, 0, 0, NULL},
535 {"bytesperblock", &vivo_param_bytesperblock, CONF_TYPE_INT, 0, 0, 0, NULL},
536 /* video options */
537 {"width", &vivo_param_width, CONF_TYPE_INT, 0, 0, 0, NULL},
538 {"height", &vivo_param_height, CONF_TYPE_INT, 0, 0, 0, NULL},
539 {"vformat", &vivo_param_vformat, CONF_TYPE_INT, 0, 0, 0, NULL},
540 {NULL, NULL, 0, 0, 0, 0, NULL}
543 extern int mf_w;
544 extern int mf_h;
545 extern float mf_fps;
546 extern char * mf_type;
547 extern m_obj_settings_t* vf_settings;
548 extern m_obj_list_t vf_obj_list;
550 m_option_t mfopts_conf[]={
551 {"on", "-mf on is deprecated, use mf:// instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
552 {"w", &mf_w, CONF_TYPE_INT, 0, 0, 0, NULL},
553 {"h", &mf_h, CONF_TYPE_INT, 0, 0, 0, NULL},
554 {"fps", &mf_fps, CONF_TYPE_FLOAT, 0, 0, 0, NULL},
555 {"type", &mf_type, CONF_TYPE_STRING, 0, 0, 0, NULL},
556 {NULL, NULL, 0, 0, 0, 0, NULL}
559 extern m_obj_settings_t* vo_plugin_args;
561 #include "libaf/af.h"
562 extern af_cfg_t af_cfg; // Audio filter configuration, defined in libmpcodecs/dec_audio.c
563 m_option_t audio_filter_conf[]={
564 {"list", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
565 {"force", &af_cfg.force, CONF_TYPE_INT, CONF_RANGE, 0, 7, NULL},
566 {NULL, NULL, 0, 0, 0, 0, NULL}
569 m_option_t msgl_config[]={
570 { "all", &mp_msg_level_all, CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL},
572 { "global", &mp_msg_levels[MSGT_GLOBAL], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
573 { "cplayer", &mp_msg_levels[MSGT_CPLAYER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
574 { "gplayer", &mp_msg_levels[MSGT_GPLAYER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
575 { "vo", &mp_msg_levels[MSGT_VO], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
576 { "ao", &mp_msg_levels[MSGT_AO], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
577 { "demuxer", &mp_msg_levels[MSGT_DEMUXER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
578 { "ds", &mp_msg_levels[MSGT_DS], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
579 { "demux", &mp_msg_levels[MSGT_DEMUX], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
580 { "header", &mp_msg_levels[MSGT_HEADER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
581 { "avsync", &mp_msg_levels[MSGT_AVSYNC], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
582 { "autoq", &mp_msg_levels[MSGT_AUTOQ], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
583 { "cfgparser", &mp_msg_levels[MSGT_CFGPARSER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
584 { "decaudio", &mp_msg_levels[MSGT_DECAUDIO], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
585 { "decvideo", &mp_msg_levels[MSGT_DECVIDEO], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
586 { "seek", &mp_msg_levels[MSGT_SEEK], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
587 { "win32", &mp_msg_levels[MSGT_WIN32], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
588 { "open", &mp_msg_levels[MSGT_OPEN], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
589 { "dvd", &mp_msg_levels[MSGT_DVD], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
590 { "parsees", &mp_msg_levels[MSGT_PARSEES], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
591 { "lirc", &mp_msg_levels[MSGT_LIRC], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
592 { "stream", &mp_msg_levels[MSGT_STREAM], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
593 { "cache", &mp_msg_levels[MSGT_CACHE], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
594 { "mencoder", &mp_msg_levels[MSGT_MENCODER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
595 { "xacodec", &mp_msg_levels[MSGT_XACODEC], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
596 { "tv", &mp_msg_levels[MSGT_TV], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
597 { "radio", &mp_msg_levels[MSGT_RADIO], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
598 { "osdep", &mp_msg_levels[MSGT_OSDEP], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
599 { "spudec", &mp_msg_levels[MSGT_SPUDEC], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
600 { "playtree", &mp_msg_levels[MSGT_PLAYTREE], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
601 { "input", &mp_msg_levels[MSGT_INPUT], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
602 { "vfilter", &mp_msg_levels[MSGT_VFILTER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
603 { "osd", &mp_msg_levels[MSGT_OSD], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
604 { "network", &mp_msg_levels[MSGT_NETWORK], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
605 { "cpudetect", &mp_msg_levels[MSGT_CPUDETECT], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
606 { "codeccfg", &mp_msg_levels[MSGT_CODECCFG], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
607 { "sws", &mp_msg_levels[MSGT_SWS], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
608 { "vobsub", &mp_msg_levels[MSGT_VOBSUB], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
609 { "subreader", &mp_msg_levels[MSGT_SUBREADER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
610 { "afilter", &mp_msg_levels[MSGT_AFILTER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
611 { "netst", &mp_msg_levels[MSGT_NETST], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
612 { "muxer", &mp_msg_levels[MSGT_MUXER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
613 { "osd-menu", &mp_msg_levels[MSGT_OSD_MENU], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
614 { "identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
615 {"help", "Available msg modules:\n"
616 " global - common player errors/information\n"
617 " cplayer - console player (mplayer.c)\n"
618 " gplayer - gui player\n"
619 " vo - libvo\n"
620 " ao - libao\n"
621 " demuxer - demuxer.c (general stuff)\n"
622 " ds - demux stream (add/read packet etc)\n"
623 " demux - fileformat-specific stuff (demux_*.c)\n"
624 " header - fileformat-specific header (*header.c)\n"
625 " avsync - mplayer.c timer stuff\n"
626 " autoq - mplayer.c auto-quality stuff\n"
627 " cfgparser - cfgparser.c\n"
628 " decaudio - av decoder\n"
629 " decvideo\n"
630 " seek - seeking code\n"
631 " win32 - win32 dll stuff\n"
632 " open - open.c (stream opening)\n"
633 " dvd - open.c (DVD init/read/seek)\n"
634 " parsees - parse_es.c (mpeg stream parser)\n"
635 " lirc - lirc_mp.c and input lirc driver\n"
636 " stream - stream.c\n"
637 " cache - cache2.c\n"
638 " mencoder\n"
639 " xacodec - XAnim codecs\n"
640 " tv - TV input subsystem\n"
641 " osdep - OS Dependant parts (linux/ for now)\n"
642 " spudec - spudec.c\n"
643 " playtree - Playtree handeling (playtree.c, playtreeparser.c)\n"
644 " input\n"
645 " vfilter\n"
646 " osd\n"
647 " network\n"
648 " cpudetect\n"
649 " codeccfg\n"
650 " sws\n"
651 " vobsub\n"
652 " subreader\n"
653 " osd-menu - OSD menu messages\n"
654 " afilter - Audio filter messages\n"
655 " netst - Netstream\n"
656 " muxer - muxer layer\n"
657 " identify - identify output\n"
658 "\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
659 {NULL, NULL, 0, 0, 0, 0, NULL}
663 #ifdef WIN32
665 extern char * proc_priority;
667 struct {
668 char* name;
669 int prio;
670 } priority_presets_defs[] = {
671 { "realtime", REALTIME_PRIORITY_CLASS},
672 { "high", HIGH_PRIORITY_CLASS},
673 #ifdef ABOVE_NORMAL_PRIORITY_CLASS
674 { "abovenormal", ABOVE_NORMAL_PRIORITY_CLASS},
675 #endif
676 { "normal", NORMAL_PRIORITY_CLASS},
677 #ifdef BELOW_NORMAL_PRIORITY_CLASS
678 { "belownormal", BELOW_NORMAL_PRIORITY_CLASS},
679 #endif
680 { "idle", IDLE_PRIORITY_CLASS},
681 { NULL, NORMAL_PRIORITY_CLASS} /* default */
683 #endif /* WIN32 */
685 #ifdef USE_LIBAVCODEC
686 extern m_option_t lavc_decode_opts_conf[];
687 #endif
689 #if defined(HAVE_XVID3) || defined(HAVE_XVID4)
690 extern m_option_t xvid_dec_opts[];
691 #endif
693 int dvd_parse_chapter_range(m_option_t*, const char*);
695 #endif