Ignore svn changes up to r30479
[mplayer/kovensky.git] / cfg-mplayer.h
blobd8170ec9e719eff80b6939ab820c7827b9c02a68
1 /*
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_MPLAYER_H
20 #define MPLAYER_CFG_MPLAYER_H
23 * config for cfgparser
26 #include <stddef.h>
28 #include "cfg-common.h"
29 #include "options.h"
31 extern char *fb_mode_cfgfile;
32 extern char *fb_mode_name;
33 extern char *dfb_params;
35 extern char *lirc_configfile;
37 /* only used at startup (setting these values from configfile) */
38 extern char *vo_geometry;
40 extern char *ao_outputfilename;
41 extern int ao_pcm_waveheader;
43 extern int fs_layer;
44 extern int stop_xscreensaver;
46 extern int menu_startup;
47 extern int menu_keepdir;
48 extern char *menu_chroot;
49 extern char *menu_fribidi_charset;
50 extern int menu_flip_hebrew;
51 extern int menu_fribidi_flip_commas;
53 extern char *unrar_executable;
55 int vo_zr_parseoption(const m_option_t* conf, char *opt, char * param);
56 void vo_zr_revertoption(const m_option_t* opt,char* pram);
58 extern m_option_t dxr2_opts[];
60 extern int sws_flags;
61 int readPPOpt(void *conf, char *arg);
62 void revertPPOpt(void *conf, char* opt);
63 extern char* pp_help;
65 const m_option_t vd_conf[]={
66 {"help", "Use MPlayer with an appropriate video file instead of live partners to avoid vd.\n", CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
67 {NULL, NULL, 0, 0, 0, 0, NULL}
70 #ifdef CONFIG_TV
71 const m_option_t tvscan_conf[]={
72 {"autostart", &stream_tv_defaults.scan, CONF_TYPE_FLAG, 0, 0, 1, NULL},
73 {"threshold", &stream_tv_defaults.scan_threshold, CONF_TYPE_INT, CONF_RANGE, 1, 100, NULL},
74 {"period", &stream_tv_defaults.scan_period, CONF_TYPE_FLOAT, CONF_RANGE, 0.1, 2.0, NULL},
75 {NULL, NULL, 0, 0, 0, 0, NULL}
77 #endif
79 * CONF_TYPE_FUNC_FULL :
80 * allows own implementations for passing the params
82 * the function receives parameter name and argument (if it does not start with - )
83 * useful with a conf.name like 'aa*' to parse several parameters to a function
84 * return 0 =ok, but we didn't need the param (could be the filename)
85 * return 1 =ok, we accepted the param
86 * negative values: see cfgparser.h, ERR_XXX
88 * by Folke
91 const m_option_t mplayer_opts[]={
92 /* name, pointer, type, flags, min, max */
94 //---------------------- libao/libvo options ------------------------
95 {"o", "Option -o has been renamed to -vo (video-out), use -vo.\n",
96 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
97 OPT_STRINGLIST("vo", video_driver_list, 0),
98 OPT_STRINGLIST("ao", audio_driver_list, 0),
99 OPT_FLAG_ON("fixed-vo", fixed_vo, CONF_GLOBAL),
100 OPT_FLAG_OFF("nofixed-vo", fixed_vo, CONF_GLOBAL),
101 OPT_FLAG_ON("ontop", vo_ontop, 0),
102 OPT_FLAG_OFF("noontop", vo_ontop, 0),
103 {"rootwin", &vo_rootwin, CONF_TYPE_FLAG, 0, 0, 1, NULL},
104 {"border", &vo_border, CONF_TYPE_FLAG, 0, 0, 1, NULL},
105 {"noborder", &vo_border, CONF_TYPE_FLAG, 0, 1, 0, NULL},
107 {"aop", "-aop has been removed, use -af instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
108 {"dsp", "-dsp has been removed. Use -ao oss:dsp_path instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
109 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
110 {"mixer-channel", &mixer_channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
111 {"softvol", &soft_vol, CONF_TYPE_FLAG, 0, 0, 1, NULL},
112 {"nosoftvol", &soft_vol, CONF_TYPE_FLAG, 0, 1, 0, NULL},
113 {"softvol-max", &soft_vol_max, CONF_TYPE_FLOAT, CONF_RANGE, 10, 10000, NULL},
114 {"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
115 {"volume", &start_volume, CONF_TYPE_FLOAT, CONF_RANGE, -1, 10000, NULL},
116 {"master", "Option -master has been removed, use -af volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
117 // override audio buffer size (used only by -ao oss, anyway obsolete...)
118 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
120 // -ao pcm options:
121 {"aofile", "-aofile has been removed. Use -ao pcm:file=<filename> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
122 {"waveheader", "-waveheader has been removed. Use -ao pcm:waveheader instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
123 {"nowaveheader", "-nowaveheader has been removed. Use -ao pcm:nowaveheader instead.\n", CONF_TYPE_PRINT, 0, 1, 0, NULL},
125 {"alsa", "-alsa has been removed. Remove it from your config file.\n",
126 CONF_TYPE_PRINT, 0, 0, 0, NULL},
127 {"noalsa", "-noalsa has been removed. Remove it from your config file.\n",
128 CONF_TYPE_PRINT, 0, 0, 0, NULL},
129 {"edlout", &edl_output_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
131 #ifdef CONFIG_X11
132 {"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0, NULL},
133 #endif
135 // -vo png only:
136 #ifdef CONFIG_PNG
137 {"z", "-z has been removed. Use -vo png:z=<0-9> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
138 #endif
139 // -vo jpeg only:
140 #ifdef CONFIG_JPEG
141 {"jpeg", "-jpeg has been removed. Use -vo jpeg:<options> instead.\n",
142 CONF_TYPE_PRINT, 0, 0, 0, NULL},
143 #endif
144 // -vo sdl only:
145 {"sdl", "Use -vo sdl:driver=<driver> instead of -vo sdl -sdl driver.\n",
146 CONF_TYPE_PRINT, 0, 0, 0, NULL},
147 {"noxv", "-noxv has been removed. Use -vo sdl:nohwaccel instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
148 {"forcexv", "-forcexv has been removed. Use -vo sdl:forcexv instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
149 // -ao sdl only:
150 {"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver.\n",
151 CONF_TYPE_PRINT, 0, 0, 0, NULL},
153 #if defined(CONFIG_FBDEV) || defined(CONFIG_VESA)
154 {"monitor-hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
155 {"monitor-vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
156 {"monitor-dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
157 #endif
159 #ifdef CONFIG_FBDEV
160 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
161 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
162 #endif
163 #ifdef CONFIG_DIRECTFB
164 #if DIRECTFBVERSION > 912
165 {"dfbopts", "-dfbopts has been removed. Use -vf directfb:dfbopts=... instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
166 #endif
167 #endif
169 // force window width/height or resolution (with -vm)
170 OPT_INTRANGE("x", screen_size_x, 0, 0, 4096),
171 OPT_INTRANGE("y", screen_size_y, 0, 0, 4096),
172 // set screen dimensions (when not detectable or virtual!=visible)
173 OPT_INTRANGE("screenw", vo_screenwidth, CONF_OLD, 0, 4096),
174 OPT_INTRANGE("screenh", vo_screenheight, CONF_OLD, 0, 4096),
175 // Geometry string
176 {"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL},
177 OPT_FLAG_ON("force-window-position", force_window_position, 0),
178 OPT_FLAG_OFF("noforce-window-position", force_window_position, 0),
179 // vo name (X classname) and window title strings
180 {"name", &vo_winname, CONF_TYPE_STRING, 0, 0, 0, NULL},
181 {"title", &vo_wintitle, CONF_TYPE_STRING, 0, 0, 0, NULL},
182 // set aspect ratio of monitor - useful for 16:9 TV-out
183 OPT_FLOATRANGE("monitoraspect", force_monitor_aspect, 0, 0.0, 9.0),
184 OPT_FLOATRANGE("monitorpixelaspect", monitor_pixel_aspect, 0, 0.2, 9.0),
185 // video mode switching: (x11,xv,dga)
186 OPT_FLAG_ON("vm", vidmode, 0),
187 OPT_FLAG_OFF("novm", vidmode, 0),
188 // start in fullscreen mode:
189 OPT_FLAG_ON("fs", fullscreen, 0),
190 OPT_FLAG_OFF("nofs", fullscreen, 0),
191 // set fullscreen switch method (workaround for buggy WMs)
192 {"fsmode", "-fsmode is obsolete, avoid it and use -fstype instead.\nIf you really want it, try -fsmode-dontuse, but don't report bugs!\n", CONF_TYPE_PRINT, CONF_RANGE, 0, 31, NULL},
193 {"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
194 // set bpp (x11+vm, dga, fbdev, vesa, svga?)
195 OPT_INTRANGE("bpp", vo_dbpp, 0, 0, 32),
196 {"colorkey", &vo_colorkey, CONF_TYPE_INT, 0, 0, 0, NULL},
197 {"nocolorkey", &vo_colorkey, CONF_TYPE_FLAG, 0, 0, 0x1000000, NULL},
198 {"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
199 {"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
200 // wait for v-sync (vesa)
201 {"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
202 {"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
203 {"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
204 OPT_FLOATRANGE("panscanrange", vo_panscanrange, 0, -19.0, 99.0),
206 {"grabpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
207 {"nograbpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 1, 0, NULL},
209 {"adapter", &vo_adapter_num, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
210 {"refreshrate",&vo_refresh_rate,CONF_TYPE_INT,CONF_RANGE, 0,100, NULL},
211 {"wid", &WinID, CONF_TYPE_INT64, 0, 0, 0, NULL},
212 #ifdef CONFIG_X11
213 // x11,xv,xmga,xvidix
214 {"icelayer", "-icelayer has been removed. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
215 {"stop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 0, 1, NULL},
216 {"nostop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 1, 0, NULL},
217 {"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
218 {"fstype", &vo_fstype_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
219 #endif
220 {"heartbeat-cmd", &heartbeat_cmd, CONF_TYPE_STRING, 0, 0, 0, NULL},
221 {"mouseinput", &vo_nomouse_input, CONF_TYPE_FLAG, 0, 1, 0, NULL},
222 {"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0, 0, 1, NULL},
224 {"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, -2, 32, NULL},
226 OPT_INTRANGE("brightness", vo_gamma_brightness, 0, -100, 100),
227 OPT_INTRANGE("saturation", vo_gamma_saturation, 0, -100, 100),
228 OPT_INTRANGE("contrast", vo_gamma_contrast, 0, -100, 100),
229 OPT_INTRANGE("hue", vo_gamma_hue, 0, -100, 100),
230 {"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
231 {"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},
233 // direct rendering (decoding to video out buffer)
234 {"dr", &vo_directrendering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
235 {"nodr", &vo_directrendering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
236 {"vaa_dr", "-vaa_dr has been removed, use -dr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
237 {"vaa_nodr", "-vaa_nodr has been removed, use -nodr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
239 #ifdef CONFIG_AA
240 // -vo aa
241 {"aa*", "-aa* has been removed. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
242 #endif
244 #ifdef CONFIG_ZR
245 // -vo zr
246 {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption },
247 #endif
249 #ifdef CONFIG_DXR2
250 {"dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
251 #endif
254 //---------------------- mplayer-only options ------------------------
256 {"use-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
257 {"nouse-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
258 {"use-filename-title", &use_filename_title, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
259 {"nouse-filename-title", &use_filename_title, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
260 #ifdef CONFIG_CRASH_DEBUG
261 {"crash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
262 {"nocrash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
263 #endif
264 OPT_INTRANGE("osdlevel", osd_level, 0, 0, 3),
265 OPT_INTRANGE("osd-duration", osd_duration, 0, 0, 3600000),
266 #ifdef CONFIG_MENU
267 {"menu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
268 {"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
269 {"menu-root", &menu_root, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
270 {"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
271 {"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
272 {"menu-keepdir", &menu_keepdir, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
273 {"menu-chroot", &menu_chroot, CONF_TYPE_STRING, 0, 0, 0, NULL},
274 #ifdef CONFIG_FRIBIDI
275 {"menu-fribidi-charset", &menu_fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL},
276 {"menu-flip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL},
277 {"menu-noflip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL},
278 {"menu-flip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL},
279 {"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL},
280 #endif /* CONFIG_FRIBIDI */
281 #else
282 {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
283 #endif /* CONFIG_MENU */
285 // these should be moved to -common, and supported in MEncoder
286 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
287 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
288 #ifdef CONFIG_UNRAR_EXEC
289 {"unrarexec", &unrar_executable, CONF_TYPE_STRING, 0, 0, 0, NULL},
290 #endif
292 {"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
294 {"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL},
295 {"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL},
296 {"noframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 1, 0, NULL},
298 {"autoq", &auto_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
300 {"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1, NULL},
302 // dump some stream out instead of playing the file
303 // this really should be in MEncoder instead of MPlayer... -> TODO
304 {"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
305 {"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1, NULL},
306 {"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2, NULL},
307 {"dumpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 3, NULL},
308 {"dumpmpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 4, NULL},
309 {"dumpstream", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 5, NULL},
310 {"dumpsrtsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 6, NULL},
311 {"dumpmicrodvdsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 7, NULL},
312 {"dumpjacosub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 8, NULL},
313 {"dumpsami", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 9, NULL},
315 #ifdef CONFIG_LIRC
316 {"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
317 #endif
319 // these should be removed when gmplayer is forgotten
320 {"gui", "Internal GUI was removed. Use some other frontend instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
321 {"nogui", "Internal GUI was removed, -nogui is no longer valid.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
323 OPT_FLAG_CONSTANTS("noloop", loop_times, 0, 0, -1),
324 OPT_INTRANGE("loop", loop_times, 0, -1, 10000),
325 {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
327 OPT_FLAG_ON("ordered-chapters", ordered_chapters, 0),
328 OPT_FLAG_OFF("noordered-chapters", ordered_chapters, 0),
330 // a-v sync stuff:
331 OPT_FLAG_ON("correct-pts", user_correct_pts, 0),
332 OPT_FLAG_OFF("nocorrect-pts", user_correct_pts, 0),
333 OPT_INTRANGE("pts-association-mode", user_pts_assoc_mode, 0, 0, 2),
334 {"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
335 {"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
336 // {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
337 // {"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
339 {"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
340 #ifdef HAVE_RTC
341 {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
342 {"rtc", &nortc, CONF_TYPE_FLAG, 0, 1, 0, NULL},
343 {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
344 #endif
346 {"term-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 1, NULL},
347 {"noterm-osd", &term_osd, CONF_TYPE_FLAG, 0, 1, 0, NULL},
348 {"term-osd-esc", &term_osd_esc, CONF_TYPE_STRING, 0, 0, 1, NULL},
349 {"playing-msg", &playing_msg, CONF_TYPE_STRING, 0, 0, 0, NULL},
351 {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
352 {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
353 {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 1, 0, NULL},
354 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL},
355 OPT_INTRANGE("key-fifo-size", key_fifo_size, CONF_GLOBAL, 2, 65000),
356 {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
357 {"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
358 {"mouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
359 {"nomouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
360 OPT_INTRANGE("doubleclick-time", doubleclick_time, 0, 0, 1000),
361 #ifdef CONFIG_TV
362 {"tvscan", (void *) tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
363 #else
364 {"tvscan", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
365 #endif /* CONFIG_TV */
367 #include "cfg-common-opts.h"
369 {"list-properties", &list_properties, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
370 {"identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_FLAG, CONF_GLOBAL, 0, MSGL_V, NULL},
371 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
372 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
373 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
375 {"vd", (void *) vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
376 {NULL, NULL, 0, 0, 0, 0, NULL}
379 #endif /* MPLAYER_CFG_MPLAYER_H */