codecs.conf: remove yuv422 format from VDPAU section
[mplayer/glamo.git] / cfg-mplayer.h
blob489062336ea9831680c545e5153e6e8e8931919b
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 "libmpdemux/demux_ts.h"
30 #include "libvo/vo_zr.h"
31 #include "options.h"
33 extern char *fb_mode_cfgfile;
34 extern char *fb_mode_name;
35 extern char *dfb_params;
37 extern char *lirc_configfile;
39 /* only used at startup (setting these values from configfile) */
40 extern char *vo_geometry;
42 extern char *ao_outputfilename;
43 extern int ao_pcm_waveheader;
45 extern int fs_layer;
46 extern int stop_xscreensaver;
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 const 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 {"heartbeat-cmd", &heartbeat_cmd, CONF_TYPE_STRING, 0, 0, 0, NULL},
218 {"mouseinput", &vo_nomouse_input, CONF_TYPE_FLAG, 0, 1, 0, NULL},
219 {"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0, 0, 1, NULL},
221 {"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, -2, 32, NULL},
223 OPT_INTRANGE("brightness", vo_gamma_brightness, 0, -100, 100),
224 OPT_INTRANGE("saturation", vo_gamma_saturation, 0, -100, 100),
225 OPT_INTRANGE("contrast", vo_gamma_contrast, 0, -100, 100),
226 OPT_INTRANGE("hue", vo_gamma_hue, 0, -100, 100),
227 {"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
228 {"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},
230 // direct rendering (decoding to video out buffer)
231 {"dr", &vo_directrendering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
232 {"nodr", &vo_directrendering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
233 {"vaa_dr", "-vaa_dr has been removed, use -dr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
234 {"vaa_nodr", "-vaa_nodr has been removed, use -nodr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
236 #ifdef CONFIG_AA
237 // -vo aa
238 {"aa*", "-aa* has been removed. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
239 #endif
241 #ifdef CONFIG_ZR
242 // -vo zr
243 {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption },
244 #endif
246 #ifdef CONFIG_DXR2
247 {"dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
248 #endif
251 //---------------------- mplayer-only options ------------------------
253 {"use-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
254 {"nouse-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
255 {"use-filename-title", &use_filename_title, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
256 {"nouse-filename-title", &use_filename_title, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
257 #ifdef CONFIG_CRASH_DEBUG
258 {"crash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
259 {"nocrash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
260 #endif
261 OPT_INTRANGE("osdlevel", osd_level, 0, 0, 3),
262 OPT_INTRANGE("osd-duration", osd_duration, 0, 0, 3600000),
263 #ifdef CONFIG_MENU
264 {"menu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
265 {"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
266 {"menu-root", &menu_root, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
267 {"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
268 {"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
269 {"menu-keepdir", &menu_keepdir, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
270 {"menu-chroot", &menu_chroot, CONF_TYPE_STRING, 0, 0, 0, NULL},
271 #ifdef CONFIG_FRIBIDI
272 {"menu-fribidi-charset", &menu_fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL},
273 {"menu-flip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL},
274 {"menu-noflip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL},
275 {"menu-flip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL},
276 {"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL},
277 #endif /* CONFIG_FRIBIDI */
278 #else
279 {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
280 #endif /* CONFIG_MENU */
282 // these should be moved to -common, and supported in MEncoder
283 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
284 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
285 #ifdef CONFIG_UNRAR_EXEC
286 {"unrarexec", &unrar_executable, CONF_TYPE_STRING, 0, 0, 0, NULL},
287 #endif
289 {"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
291 {"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL},
292 {"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL},
293 {"noframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 1, 0, NULL},
295 {"autoq", &auto_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
297 {"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1, NULL},
299 // dump some stream out instead of playing the file
300 // this really should be in MEncoder instead of MPlayer... -> TODO
301 {"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
302 {"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1, NULL},
303 {"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2, NULL},
304 {"dumpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 3, NULL},
305 {"dumpmpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 4, NULL},
306 {"dumpstream", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 5, NULL},
307 {"dumpsrtsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 6, NULL},
308 {"dumpmicrodvdsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 7, NULL},
309 {"dumpjacosub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 8, NULL},
310 {"dumpsami", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 9, NULL},
312 #ifdef CONFIG_LIRC
313 {"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
314 #endif
316 // these should be removed when gmplayer is forgotten
317 {"gui", "Internal GUI was removed. Use some other frontend instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
318 {"nogui", "Internal GUI was removed, -nogui is no longer valid.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
320 OPT_FLAG_CONSTANTS("noloop", loop_times, 0, 0, -1),
321 OPT_INTRANGE("loop", loop_times, 0, -1, 10000),
322 {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
324 OPT_FLAG_ON("ordered-chapters", ordered_chapters, 0),
325 OPT_FLAG_OFF("noordered-chapters", ordered_chapters, 0),
327 // a-v sync stuff:
328 OPT_FLAG_ON("correct-pts", user_correct_pts, 0),
329 OPT_FLAG_OFF("nocorrect-pts", user_correct_pts, 0),
330 OPT_INTRANGE("pts-association-mode", user_pts_assoc_mode, 0, 0, 2),
331 {"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
332 {"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
334 {"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
335 #ifdef HAVE_RTC
336 {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
337 {"rtc", &nortc, CONF_TYPE_FLAG, 0, 1, 0, NULL},
338 {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
339 #endif
341 {"term-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 1, NULL},
342 {"noterm-osd", &term_osd, CONF_TYPE_FLAG, 0, 1, 0, NULL},
343 {"term-osd-esc", &term_osd_esc, CONF_TYPE_STRING, 0, 0, 1, NULL},
344 {"playing-msg", &playing_msg, CONF_TYPE_STRING, 0, 0, 0, NULL},
346 {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
347 {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
348 {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 1, 0, NULL},
349 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL},
350 OPT_INTRANGE("key-fifo-size", key_fifo_size, CONF_GLOBAL, 2, 65000),
351 {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
352 {"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
353 {"mouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
354 {"nomouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
355 OPT_INTRANGE("doubleclick-time", doubleclick_time, 0, 0, 1000),
356 #ifdef CONFIG_TV
357 {"tvscan", (void *) tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
358 #else
359 {"tvscan", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
360 #endif /* CONFIG_TV */
362 #include "cfg-common-opts.h"
364 {"list-properties", &list_properties, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
365 {"identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_FLAG, CONF_GLOBAL, 0, MSGL_V, NULL},
366 {"-help", (void *) help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
367 {"help", (void *) help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
368 {"h", (void *) help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
370 {"vd", (void *) vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
371 {NULL, NULL, 0, 0, 0, 0, NULL}
374 #endif /* MPLAYER_CFG_MPLAYER_H */