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