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