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