Musepack SV8 lavc decoder support
[mplayer/glamo.git] / cfg-mplayer.h
bloba22e2741e2d1e10e86a9e1388b89d9349b3cd577
1 /*
2 * config for cfgparser
3 */
5 #include "cfg-common.h"
7 extern int key_fifo_size;
8 extern unsigned doubleclick_time;
10 #ifdef HAVE_FBDEV
11 extern char *fb_mode_cfgfile;
12 extern char *fb_mode_name;
13 #endif
14 #ifdef HAVE_DIRECTFB
15 extern char *dfb_params;
16 #endif
17 #ifdef USE_FAKE_MONO
18 extern int fakemono; // defined in dec_audio.c
19 #endif
21 #ifdef HAVE_LIRC
22 extern char *lirc_configfile;
23 #endif
25 extern float vo_panscanrange;
26 /* only used at startup (setting these values from configfile) */
27 extern char *vo_geometry;
29 extern int opt_screen_size_x;
30 extern int opt_screen_size_y;
31 extern int fullscreen;
32 extern int vidmode;
34 extern char *ao_outputfilename;
35 extern int ao_pcm_waveheader;
37 #ifdef HAVE_X11
38 extern int fs_layer;
39 extern int stop_xscreensaver;
40 #endif
42 #ifdef HAVE_MENU
43 extern int menu_startup;
44 extern int menu_keepdir;
45 extern char *menu_chroot;
46 #ifdef USE_FRIBIDI
47 extern char *menu_fribidi_charset;
48 extern int menu_flip_hebrew;
49 extern int menu_fribidi_flip_commas;
50 #endif
51 #endif /* HAVE_MENU */
53 #ifdef HAVE_ZR
54 extern int vo_zr_parseoption(m_option_t* conf, char *opt, char * param);
55 extern void vo_zr_revertoption(m_option_t* opt,char* pram);
56 #endif
58 #ifdef HAVE_DXR2
59 extern m_option_t dxr2_opts[];
60 #endif
62 #ifdef HAVE_NEW_GUI
63 extern char * skinName;
64 extern int guiWinID;
65 #endif
68 /* from libvo/aspect.c */
69 extern float force_monitor_aspect;
70 extern float monitor_pixel_aspect;
72 extern int sws_flags;
73 extern int readPPOpt(void *conf, char *arg);
74 extern void revertPPOpt(void *conf, char* opt);
75 extern char* pp_help;
77 m_option_t vd_conf[]={
78 {"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},
79 {NULL, NULL, 0, 0, 0, 0, NULL}
82 #ifdef USE_TV
83 m_option_t tvscan_conf[]={
84 {"autostart", &stream_tv_defaults.scan, CONF_TYPE_FLAG, 0, 0, 1, NULL},
85 {"threshold", &stream_tv_defaults.scan_threshold, CONF_TYPE_INT, CONF_RANGE, 1, 100, NULL},
86 {"period", &stream_tv_defaults.scan_period, CONF_TYPE_FLOAT, CONF_RANGE, 0.1, 2.0, NULL},
87 {NULL, NULL, 0, 0, 0, 0, NULL}
89 #endif
91 * CONF_TYPE_FUNC_FULL :
92 * allows own implementations for passing the params
94 * the function receives parameter name and argument (if it does not start with - )
95 * useful with a conf.name like 'aa*' to parse several parameters to a function
96 * return 0 =ok, but we didn't need the param (could be the filename)
97 * return 1 =ok, we accepted the param
98 * negative values: see cfgparser.h, ERR_XXX
100 * by Folke
103 m_option_t mplayer_opts[]={
104 /* name, pointer, type, flags, min, max */
106 //---------------------- libao/libvo options ------------------------
107 {"o", "Option -o has been renamed to -vo (video-out), use -vo.\n",
108 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
109 {"vo", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
110 {"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
111 {"fixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
112 {"nofixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL, 1, 0, NULL},
113 {"ontop", &vo_ontop, CONF_TYPE_FLAG, 0, 0, 1, NULL},
114 {"noontop", &vo_ontop, CONF_TYPE_FLAG, 0, 1, 0, NULL},
115 {"rootwin", &vo_rootwin, CONF_TYPE_FLAG, 0, 0, 1, NULL},
116 {"border", &vo_border, CONF_TYPE_FLAG, 0, 0, 1, NULL},
117 {"noborder", &vo_border, CONF_TYPE_FLAG, 0, 1, 0, NULL},
119 {"aop", "-aop has been removed, use -af instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
120 {"dsp", "-dsp has been removed. Use -ao oss:dsp_path instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
121 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
122 {"mixer-channel", &mixer_channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
123 {"softvol", &soft_vol, CONF_TYPE_FLAG, 0, 0, 1, NULL},
124 {"nosoftvol", &soft_vol, CONF_TYPE_FLAG, 0, 1, 0, NULL},
125 {"softvol-max", &soft_vol_max, CONF_TYPE_FLOAT, CONF_RANGE, 10, 10000, NULL},
126 {"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
127 {"master", "Option -master has been removed, use -af volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
128 // override audio buffer size (used only by -ao oss, anyway obsolete...)
129 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
131 // -ao pcm options:
132 {"aofile", "-aofile has been removed. Use -ao pcm:file=<filename> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
133 {"waveheader", "-waveheader has been removed. Use -ao pcm:waveheader instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
134 {"nowaveheader", "-nowaveheader has been removed. Use -ao pcm:nowaveheader instead.\n", CONF_TYPE_PRINT, 0, 1, 0, NULL},
136 {"alsa", "-alsa has been removed. Remove it from your config file.\n",
137 CONF_TYPE_PRINT, 0, 0, 0, NULL},
138 {"noalsa", "-noalsa has been removed. Remove it from your config file.\n",
139 CONF_TYPE_PRINT, 0, 0, 0, NULL},
140 {"edlout", &edl_output_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
142 #ifdef HAVE_X11
143 {"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0, NULL},
144 #endif
146 // -vo png only:
147 #ifdef HAVE_PNG
148 {"z", "-z has been removed. Use -vo png:z=<0-9> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
149 #endif
150 // -vo jpeg only:
151 #ifdef HAVE_JPEG
152 {"jpeg", "-jpeg has been removed. Use -vo jpeg:<options> instead.\n",
153 CONF_TYPE_PRINT, 0, 0, 0, NULL},
154 #endif
155 // -vo sdl only:
156 {"sdl", "Use -vo sdl:driver=<driver> instead of -vo sdl -sdl driver.\n",
157 CONF_TYPE_PRINT, 0, 0, 0, NULL},
158 {"noxv", "-noxv has been removed. Use -vo sdl:nohwaccel instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
159 {"forcexv", "-forcexv has been removed. Use -vo sdl:forcexv instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
160 // -ao sdl only:
161 {"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver.\n",
162 CONF_TYPE_PRINT, 0, 0, 0, NULL},
164 #if defined(HAVE_FBDEV)||defined(HAVE_VESA)
165 {"monitor-hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
166 {"monitor-vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
167 {"monitor-dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
168 #endif
170 #ifdef HAVE_FBDEV
171 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
172 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
173 #endif
174 #ifdef HAVE_DIRECTFB
175 #if DIRECTFBVERSION > 912
176 {"dfbopts", "-dfbopts has been removed. Use -vf directfb:dfbopts=... instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
177 #endif
178 #endif
180 // force window width/height or resolution (with -vm)
181 {"x", &opt_screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
182 {"y", &opt_screen_size_y, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
183 // set screen dimensions (when not detectable or virtual!=visible)
184 {"screenw", &vo_screenwidth, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
185 {"screenh", &vo_screenheight, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
186 // Geometry string
187 {"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL},
188 // set aspect ratio of monitor - useful for 16:9 TVout
189 {"monitoraspect", &force_monitor_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 9.0, NULL},
190 {"monitorpixelaspect", &monitor_pixel_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 9.0, NULL},
191 // video mode switching: (x11,xv,dga)
192 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
193 {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
194 // start in fullscreen mode:
195 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1, NULL},
196 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0, NULL},
197 // set fullscreen switch method (workaround for buggy WMs)
198 {"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},
199 {"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
200 // set bpp (x11+vm, dga, fbdev, vesa, svga?)
201 {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL},
202 {"colorkey", &vo_colorkey, CONF_TYPE_INT, 0, 0, 0, NULL},
203 {"nocolorkey", &vo_colorkey, CONF_TYPE_FLAG, 0, 0, 0x1000000, NULL},
204 {"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
205 {"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
206 // wait for v-sync (vesa)
207 {"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
208 {"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
209 {"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
210 {"panscanrange", &vo_panscanrange, CONF_TYPE_FLOAT, CONF_RANGE, -19.0, 99.0, NULL},
212 {"grabpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
213 {"nograbpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 1, 0, NULL},
215 {"adapter", &vo_adapter_num, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
216 {"refreshrate",&vo_refresh_rate,CONF_TYPE_INT,CONF_RANGE, 0,100, NULL},
217 {"wid", &WinID, CONF_TYPE_INT, 0, 0, 0, NULL},
218 #ifdef HAVE_X11
219 // x11,xv,xmga,xvidix
220 {"icelayer", "-icelayer has been removed. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
221 {"stop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 0, 1, NULL},
222 {"nostop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 1, 0, NULL},
223 {"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
224 {"fstype", &vo_fstype_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
225 #endif
226 {"mouseinput", &vo_nomouse_input, CONF_TYPE_FLAG, 0, 1, 0, NULL},
227 {"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0, 0, 1, NULL},
229 {"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, -2, 32, NULL},
231 {"brightness",&vo_gamma_brightness, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
232 {"saturation",&vo_gamma_saturation, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
233 {"contrast",&vo_gamma_contrast, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
234 {"hue",&vo_gamma_hue, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
235 {"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
236 {"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},
238 // direct rendering (decoding to video out buffer)
239 {"dr", &vo_directrendering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
240 {"nodr", &vo_directrendering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
241 {"vaa_dr", "-vaa_dr has been removed, use -dr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
242 {"vaa_nodr", "-vaa_nodr has been removed, use -nodr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
244 #ifdef HAVE_AA
245 // -vo aa
246 {"aa*", "-aa* has been removed. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
247 #endif
249 #ifdef HAVE_ZR
250 // -vo zr
251 {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption },
252 #endif
254 #ifdef HAVE_DXR2
255 {"dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
256 #endif
259 //---------------------- mplayer-only options ------------------------
261 {"use-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
262 {"nouse-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
263 #ifdef CRASH_DEBUG
264 {"crash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
265 {"nocrash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
266 #endif
267 {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
268 {"osd-duration", &osd_duration, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
269 #ifdef HAVE_MENU
270 {"menu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
271 {"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
272 {"menu-root", &menu_root, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
273 {"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
274 {"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
275 {"menu-keepdir", &menu_keepdir, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
276 {"menu-chroot", &menu_chroot, CONF_TYPE_STRING, 0, 0, 0, NULL},
277 #ifdef USE_FRIBIDI
278 {"menu-fribidi-charset", &menu_fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL},
279 {"menu-flip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL},
280 {"menu-noflip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL},
281 {"menu-flip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL},
282 {"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL},
283 #endif /* USE_FRIBIDI */
284 #else
285 {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
286 #endif /* HAVE_MENU */
288 // these should be moved to -common, and supported in MEncoder
289 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
290 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
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 HAVE_LIRC
316 {"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
317 #endif
319 {"gui", "The -gui option will only work as the first command line argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
320 {"nogui", "The -nogui option will only work as the first command line argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
322 #ifdef HAVE_NEW_GUI
323 {"skin", &skinName, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
324 {"enqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 1, NULL},
325 {"noenqueue", &enqueue, CONF_TYPE_FLAG, 0, 1, 0, NULL},
326 {"guiwid", &guiWinID, CONF_TYPE_INT, 0, 0, 0, NULL},
327 #endif
329 {"noloop", &mpctx_s.loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL},
330 {"loop", &mpctx_s.loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL},
331 {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
333 // a-v sync stuff:
334 {"correct-pts", &correct_pts, CONF_TYPE_FLAG, 0, 0, 1, NULL},
335 {"no-correct-pts", &correct_pts, CONF_TYPE_FLAG, 0, 1, 0, NULL},
336 {"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
337 {"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
338 // {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
339 // {"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
341 {"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
342 #ifdef HAVE_RTC
343 {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
344 {"rtc", &nortc, CONF_TYPE_FLAG, 0, 1, 0, NULL},
345 {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
346 #endif
348 {"term-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 1, NULL},
349 {"noterm-osd", &term_osd, CONF_TYPE_FLAG, 0, 1, 0, NULL},
350 {"term-osd-esc", &term_osd_esc, CONF_TYPE_STRING, 0, 0, 1, NULL},
351 {"playing-msg", &playing_msg, CONF_TYPE_STRING, 0, 0, 0, NULL},
353 {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
354 {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
355 {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 1, 0, NULL},
356 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL},
357 {"key-fifo-size", &key_fifo_size, CONF_TYPE_INT, CONF_RANGE, 2, 65000, NULL},
358 {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
359 {"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
360 {"mouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
361 {"nomouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
362 {"doubleclick-time", &doubleclick_time, CONF_TYPE_INT, CONF_RANGE, 0, 1000, NULL},
363 #ifdef USE_TV
364 {"tvscan", tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
365 #else
366 {"tvscan", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
367 #endif
369 #define MAIN_CONF
370 #include "cfg-common.h"
371 #undef MAIN_CONF
373 {"list-properties", &list_properties, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
374 {"identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_FLAG, CONF_GLOBAL, 0, MSGL_V, NULL},
375 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
376 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
377 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
379 {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
380 {NULL, NULL, 0, 0, 0, 0, NULL}