handle the lavfpref demuxer in the same way as the lavf one
[mplayer.git] / cfg-mplayer.h
blob7efe4acdbcb445eda50d948b1011f146902477de
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 extern int vo_zr_parseoption(const m_option_t* conf, char *opt, char * param);
44 extern 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 extern int readPPOpt(void *conf, char *arg);
58 extern 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 {"master", "Option -master has been removed, use -af volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
112 // override audio buffer size (used only by -ao oss, anyway obsolete...)
113 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
115 // -ao pcm options:
116 {"aofile", "-aofile has been removed. Use -ao pcm:file=<filename> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
117 {"waveheader", "-waveheader has been removed. Use -ao pcm:waveheader instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
118 {"nowaveheader", "-nowaveheader has been removed. Use -ao pcm:nowaveheader instead.\n", CONF_TYPE_PRINT, 0, 1, 0, NULL},
120 {"alsa", "-alsa has been removed. Remove it from your config file.\n",
121 CONF_TYPE_PRINT, 0, 0, 0, NULL},
122 {"noalsa", "-noalsa has been removed. Remove it from your config file.\n",
123 CONF_TYPE_PRINT, 0, 0, 0, NULL},
124 {"edlout", &edl_output_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
126 #ifdef CONFIG_X11
127 {"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0, NULL},
128 #endif
130 // -vo png only:
131 #ifdef CONFIG_PNG
132 {"z", "-z has been removed. Use -vo png:z=<0-9> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
133 #endif
134 // -vo jpeg only:
135 #ifdef CONFIG_JPEG
136 {"jpeg", "-jpeg has been removed. Use -vo jpeg:<options> instead.\n",
137 CONF_TYPE_PRINT, 0, 0, 0, NULL},
138 #endif
139 // -vo sdl only:
140 {"sdl", "Use -vo sdl:driver=<driver> instead of -vo sdl -sdl driver.\n",
141 CONF_TYPE_PRINT, 0, 0, 0, NULL},
142 {"noxv", "-noxv has been removed. Use -vo sdl:nohwaccel instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
143 {"forcexv", "-forcexv has been removed. Use -vo sdl:forcexv instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
144 // -ao sdl only:
145 {"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver.\n",
146 CONF_TYPE_PRINT, 0, 0, 0, NULL},
148 #if defined(CONFIG_FBDEV) || defined(CONFIG_VESA)
149 {"monitor-hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
150 {"monitor-vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
151 {"monitor-dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
152 #endif
154 #ifdef CONFIG_FBDEV
155 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
156 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
157 #endif
158 #ifdef CONFIG_DIRECTFB
159 #if DIRECTFBVERSION > 912
160 {"dfbopts", "-dfbopts has been removed. Use -vf directfb:dfbopts=... instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
161 #endif
162 #endif
164 // force window width/height or resolution (with -vm)
165 {"x", &opt_screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
166 {"y", &opt_screen_size_y, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
167 // set screen dimensions (when not detectable or virtual!=visible)
168 {"screenw", &vo_screenwidth, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
169 {"screenh", &vo_screenheight, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
170 // Geometry string
171 {"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL},
172 // set aspect ratio of monitor - useful for 16:9 TV-out
173 {"monitoraspect", &force_monitor_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 9.0, NULL},
174 {"monitorpixelaspect", &monitor_pixel_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 9.0, NULL},
175 // video mode switching: (x11,xv,dga)
176 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
177 {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
178 // start in fullscreen mode:
179 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1, NULL},
180 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0, NULL},
181 // set fullscreen switch method (workaround for buggy WMs)
182 {"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},
183 {"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
184 // set bpp (x11+vm, dga, fbdev, vesa, svga?)
185 {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL},
186 {"colorkey", &vo_colorkey, CONF_TYPE_INT, 0, 0, 0, NULL},
187 {"nocolorkey", &vo_colorkey, CONF_TYPE_FLAG, 0, 0, 0x1000000, NULL},
188 {"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
189 {"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
190 // wait for v-sync (vesa)
191 {"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
192 {"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
193 {"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
194 {"panscanrange", &vo_panscanrange, CONF_TYPE_FLOAT, CONF_RANGE, -19.0, 99.0, NULL},
196 {"grabpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
197 {"nograbpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 1, 0, NULL},
199 {"adapter", &vo_adapter_num, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
200 {"refreshrate",&vo_refresh_rate,CONF_TYPE_INT,CONF_RANGE, 0,100, NULL},
201 {"wid", &WinID, CONF_TYPE_INT, 0, 0, 0, NULL},
202 #ifdef CONFIG_X11
203 // x11,xv,xmga,xvidix
204 {"icelayer", "-icelayer has been removed. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
205 {"stop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 0, 1, NULL},
206 {"nostop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 1, 0, NULL},
207 {"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
208 {"fstype", &vo_fstype_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
209 #endif
210 {"heartbeat-cmd", &heartbeat_cmd, CONF_TYPE_STRING, 0, 0, 0, NULL},
211 {"mouseinput", &vo_nomouse_input, CONF_TYPE_FLAG, 0, 1, 0, NULL},
212 {"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0, 0, 1, NULL},
214 {"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, -2, 32, NULL},
216 {"brightness",&vo_gamma_brightness, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
217 {"saturation",&vo_gamma_saturation, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
218 {"contrast",&vo_gamma_contrast, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
219 {"hue",&vo_gamma_hue, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
220 {"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
221 {"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},
223 // direct rendering (decoding to video out buffer)
224 {"dr", &vo_directrendering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
225 {"nodr", &vo_directrendering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
226 {"vaa_dr", "-vaa_dr has been removed, use -dr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
227 {"vaa_nodr", "-vaa_nodr has been removed, use -nodr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
229 #ifdef CONFIG_AA
230 // -vo aa
231 {"aa*", "-aa* has been removed. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
232 #endif
234 #ifdef CONFIG_ZR
235 // -vo zr
236 {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption },
237 #endif
239 #ifdef CONFIG_DXR2
240 {"dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
241 #endif
244 //---------------------- mplayer-only options ------------------------
246 {"use-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
247 {"nouse-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
248 #ifdef CONFIG_CRASH_DEBUG
249 {"crash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
250 {"nocrash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
251 #endif
252 {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
253 {"osd-duration", &osd_duration, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
254 #ifdef CONFIG_MENU
255 {"menu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
256 {"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
257 {"menu-root", &menu_root, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
258 {"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
259 {"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
260 {"menu-keepdir", &menu_keepdir, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
261 {"menu-chroot", &menu_chroot, CONF_TYPE_STRING, 0, 0, 0, NULL},
262 #ifdef CONFIG_FRIBIDI
263 {"menu-fribidi-charset", &menu_fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL},
264 {"menu-flip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL},
265 {"menu-noflip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL},
266 {"menu-flip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL},
267 {"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL},
268 #endif /* CONFIG_FRIBIDI */
269 #else
270 {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
271 #endif /* CONFIG_MENU */
273 // these should be moved to -common, and supported in MEncoder
274 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
275 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
276 #ifdef CONFIG_UNRAR_EXEC
277 {"unrarexec", &unrar_executable, CONF_TYPE_STRING, 0, 0, 0, NULL},
278 #endif
280 {"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
282 {"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL},
283 {"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL},
284 {"noframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 1, 0, NULL},
286 {"autoq", &auto_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
288 {"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1, NULL},
290 // dump some stream out instead of playing the file
291 // this really should be in MEncoder instead of MPlayer... -> TODO
292 {"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
293 {"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1, NULL},
294 {"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2, NULL},
295 {"dumpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 3, NULL},
296 {"dumpmpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 4, NULL},
297 {"dumpstream", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 5, NULL},
298 {"dumpsrtsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 6, NULL},
299 {"dumpmicrodvdsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 7, NULL},
300 {"dumpjacosub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 8, NULL},
301 {"dumpsami", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 9, NULL},
303 #ifdef CONFIG_LIRC
304 {"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
305 #endif
307 {"gui", "The -gui option will only work as the first command line argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
308 {"nogui", "The -nogui option will only work as the first command line argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
310 #ifdef CONFIG_GUI
311 {"skin", &skinName, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
312 {"enqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 1, NULL},
313 {"noenqueue", &enqueue, CONF_TYPE_FLAG, 0, 1, 0, NULL},
314 {"guiwid", &guiWinID, CONF_TYPE_INT, 0, 0, 0, NULL},
315 #endif
317 {"noloop", &mpctx_s.loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL},
318 {"loop", &mpctx_s.loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL},
319 {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
321 // a-v sync stuff:
322 {"correct-pts", &user_correct_pts, CONF_TYPE_FLAG, 0, 0, 1, NULL},
323 {"nocorrect-pts", &user_correct_pts, CONF_TYPE_FLAG, 0, 1, 0, NULL},
324 {"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
325 {"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
326 // {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
327 // {"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
329 {"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
330 #ifdef HAVE_RTC
331 {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
332 {"rtc", &nortc, CONF_TYPE_FLAG, 0, 1, 0, NULL},
333 {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
334 #endif
336 {"term-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 1, NULL},
337 {"noterm-osd", &term_osd, CONF_TYPE_FLAG, 0, 1, 0, NULL},
338 {"term-osd-esc", &term_osd_esc, CONF_TYPE_STRING, 0, 0, 1, NULL},
339 {"playing-msg", &playing_msg, CONF_TYPE_STRING, 0, 0, 0, NULL},
341 {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
342 {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
343 {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 1, 0, NULL},
344 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL},
345 {"key-fifo-size", &key_fifo_size, CONF_TYPE_INT, CONF_RANGE, 2, 65000, NULL},
346 {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
347 {"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
348 {"mouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
349 {"nomouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
350 {"doubleclick-time", &doubleclick_time, CONF_TYPE_INT, CONF_RANGE, 0, 1000, NULL},
351 #ifdef CONFIG_TV
352 {"tvscan", tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
353 #else
354 {"tvscan", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
355 #endif /* CONFIG_TV */
357 #include "cfg-common-opts.h"
359 {"list-properties", &list_properties, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
360 {"identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_FLAG, CONF_GLOBAL, 0, MSGL_V, NULL},
361 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
362 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
363 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
365 {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
366 {NULL, NULL, 0, 0, 0, 0, NULL}
369 #endif /* MPLAYER_CFG_MPLAYER_H */