5 #include "cfg-common.h"
7 extern int key_fifo_size
;
8 extern unsigned doubleclick_time
;
9 extern int noconsolecontrols
;
11 #if defined(HAVE_FBDEV)||defined(HAVE_VESA)
12 extern char *monitor_hfreq_str
;
13 extern char *monitor_vfreq_str
;
14 extern char *monitor_dotclock_str
;
18 extern char *fb_mode_cfgfile
;
19 extern char *fb_mode_name
;
22 extern char *dfb_params
;
25 extern int fakemono
; // defined in dec_audio.c
31 extern char *lirc_configfile
;
34 extern int vo_doublebuffering
;
38 extern int vo_directrendering
;
39 extern float vo_panscan
;
40 extern float vo_panscanrange
;
41 /* only used at startup (setting these values from configfile) */
42 extern int vo_gamma_brightness
;
43 extern int vo_gamma_saturation
;
44 extern int vo_gamma_contrast
;
45 extern int vo_gamma_hue
;
46 extern char *vo_geometry
;
49 extern int vo_keepaspect
;
50 extern int vo_rootwin
;
52 extern int opt_screen_size_x
;
53 extern int opt_screen_size_y
;
54 extern int fullscreen
;
59 extern char *ao_outputfilename
;
60 extern int ao_pcm_waveheader
;
63 extern char *mDisplayName
;
65 extern int stop_xscreensaver
;
66 extern char **vo_fstype_list
;
68 extern int vo_nomouse_input
;
72 extern int menu_startup
;
73 extern int menu_keepdir
;
74 extern char *menu_chroot
;
76 extern char *menu_fribidi_charset
;
77 extern int menu_flip_hebrew
;
78 extern int menu_fribidi_flip_commas
;
83 extern int vo_zr_parseoption(m_option_t
* conf
, char *opt
, char * param
);
84 extern void vo_zr_revertoption(m_option_t
* opt
,char* pram
);
88 extern m_option_t dxr2_opts
[];
92 extern char * skinName
;
98 extern int xinerama_screen
;
101 /* from libvo/aspect.c */
102 extern float force_monitor_aspect
;
103 extern float monitor_pixel_aspect
;
105 extern int sws_flags
;
106 extern int readPPOpt(void *conf
, char *arg
);
107 extern void revertPPOpt(void *conf
, char* opt
);
108 extern char* pp_help
;
109 extern int enable_mouse_movements
;
110 extern int use_filedir_conf
;
112 m_option_t vd_conf
[]={
113 {"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
},
114 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
118 m_option_t tvscan_conf
[]={
119 {"autostart", &stream_tv_defaults
.scan
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
120 {"threshold", &stream_tv_defaults
.scan_threshold
, CONF_TYPE_INT
, CONF_RANGE
, 1, 100, NULL
},
121 {"period", &stream_tv_defaults
.scan_period
, CONF_TYPE_FLOAT
, CONF_RANGE
, 0.1, 2.0, NULL
},
122 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
126 * CONF_TYPE_FUNC_FULL :
127 * allows own implementations for passing the params
129 * the function receives parameter name and argument (if it does not start with - )
130 * useful with a conf.name like 'aa*' to parse several parameters to a function
131 * return 0 =ok, but we didn't need the param (could be the filename)
132 * return 1 =ok, we accepted the param
133 * negative values: see cfgparser.h, ERR_XXX
138 m_option_t mplayer_opts
[]={
139 /* name, pointer, type, flags, min, max */
141 //---------------------- libao/libvo options ------------------------
142 {"o", "Option -o has been renamed to -vo (video-out), use -vo.\n",
143 CONF_TYPE_PRINT
, CONF_NOCFG
, 0, 0, NULL
},
144 {"vo", &video_driver_list
, CONF_TYPE_STRING_LIST
, 0, 0, 0, NULL
},
145 {"ao", &audio_driver_list
, CONF_TYPE_STRING_LIST
, 0, 0, 0, NULL
},
146 {"fixed-vo", &fixed_vo
, CONF_TYPE_FLAG
,CONF_GLOBAL
, 0, 1, NULL
},
147 {"nofixed-vo", &fixed_vo
, CONF_TYPE_FLAG
,CONF_GLOBAL
, 1, 0, NULL
},
148 {"ontop", &vo_ontop
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
149 {"noontop", &vo_ontop
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
150 {"rootwin", &vo_rootwin
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
151 {"border", &vo_border
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
152 {"noborder", &vo_border
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
154 {"aop", "-aop has been removed, use -af instead.\n", CONF_TYPE_PRINT
, CONF_NOCFG
, 0, 0, NULL
},
155 {"dsp", "-dsp has been removed. Use -ao oss:dsp_path instead.\n", CONF_TYPE_PRINT
, CONF_NOCFG
, 0, 0, NULL
},
156 {"mixer", &mixer_device
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
157 {"mixer-channel", &mixer_channel
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
158 {"softvol", &soft_vol
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
159 {"nosoftvol", &soft_vol
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
160 {"softvol-max", &soft_vol_max
, CONF_TYPE_FLOAT
, CONF_RANGE
, 10, 10000, NULL
},
161 {"volstep", &volstep
, CONF_TYPE_INT
, CONF_RANGE
, 0, 100, NULL
},
162 {"master", "Option -master has been removed, use -af volume instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
163 // override audio buffer size (used only by -ao oss, anyway obsolete...)
164 {"abs", &ao_data
.buffersize
, CONF_TYPE_INT
, CONF_MIN
, 0, 0, NULL
},
167 {"aofile", "-aofile has been removed. Use -ao pcm:file=<filename> instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
168 {"waveheader", "-waveheader has been removed. Use -ao pcm:waveheader instead.\n", CONF_TYPE_PRINT
, 0, 0, 1, NULL
},
169 {"nowaveheader", "-nowaveheader has been removed. Use -ao pcm:nowaveheader instead.\n", CONF_TYPE_PRINT
, 0, 1, 0, NULL
},
171 {"alsa", "-alsa has been removed. Remove it from your config file.\n",
172 CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
173 {"noalsa", "-noalsa has been removed. Remove it from your config file.\n",
174 CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
175 {"edlout", &edl_output_filename
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
178 {"display", &mDisplayName
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
183 {"z", "-z has been removed. Use -vo png:z=<0-9> instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
187 {"jpeg", "-jpeg has been removed. Use -vo jpeg:<options> instead.\n",
188 CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
191 {"sdl", "Use -vo sdl:driver=<driver> instead of -vo sdl -sdl driver.\n",
192 CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
193 {"noxv", "-noxv has been removed. Use -vo sdl:nohwaccel instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
194 {"forcexv", "-forcexv has been removed. Use -vo sdl:forcexv instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
196 {"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver.\n",
197 CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
199 #if defined(HAVE_FBDEV)||defined(HAVE_VESA)
200 {"monitor-hfreq", &monitor_hfreq_str
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
201 {"monitor-vfreq", &monitor_vfreq_str
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
202 {"monitor-dotclock", &monitor_dotclock_str
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
206 {"fbmode", &fb_mode_name
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
207 {"fbmodeconfig", &fb_mode_cfgfile
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
210 #if DIRECTFBVERSION > 912
211 {"dfbopts", "-dfbopts has been removed. Use -vf directfb:dfbopts=... instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
215 // force window width/height or resolution (with -vm)
216 {"x", &opt_screen_size_x
, CONF_TYPE_INT
, CONF_RANGE
, 0, 4096, NULL
},
217 {"y", &opt_screen_size_y
, CONF_TYPE_INT
, CONF_RANGE
, 0, 4096, NULL
},
218 // set screen dimensions (when not detectable or virtual!=visible)
219 {"screenw", &vo_screenwidth
, CONF_TYPE_INT
, CONF_RANGE
|CONF_OLD
, 0, 4096, NULL
},
220 {"screenh", &vo_screenheight
, CONF_TYPE_INT
, CONF_RANGE
|CONF_OLD
, 0, 4096, NULL
},
222 {"geometry", &vo_geometry
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
223 // set aspect ratio of monitor - useful for 16:9 TVout
224 {"monitoraspect", &force_monitor_aspect
, CONF_TYPE_FLOAT
, CONF_RANGE
, 0.0, 9.0, NULL
},
225 {"monitorpixelaspect", &monitor_pixel_aspect
, CONF_TYPE_FLOAT
, CONF_RANGE
, 0.2, 9.0, NULL
},
226 // video mode switching: (x11,xv,dga)
227 {"vm", &vidmode
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
228 {"novm", &vidmode
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
229 // start in fullscreen mode:
230 {"fs", &fullscreen
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
231 {"nofs", &fullscreen
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
232 // set fullscreen switch method (workaround for buggy WMs)
233 {"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
},
234 {"fsmode-dontuse", &vo_fsmode
, CONF_TYPE_INT
, CONF_RANGE
, 0, 31, NULL
},
235 // set bpp (x11+vm, dga, fbdev, vesa, svga?)
236 {"bpp", &vo_dbpp
, CONF_TYPE_INT
, CONF_RANGE
, 0, 32, NULL
},
237 {"colorkey", &vo_colorkey
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
238 {"nocolorkey", &vo_colorkey
, CONF_TYPE_FLAG
, 0, 0, 0x1000000, NULL
},
239 {"double", &vo_doublebuffering
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
240 {"nodouble", &vo_doublebuffering
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
241 // wait for v-sync (vesa)
242 {"vsync", &vo_vsync
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
243 {"novsync", &vo_vsync
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
244 {"panscan", &vo_panscan
, CONF_TYPE_FLOAT
, CONF_RANGE
, -1.0, 1.0, NULL
},
245 {"panscanrange", &vo_panscanrange
, CONF_TYPE_FLOAT
, CONF_RANGE
, -19.0, 99.0, NULL
},
247 {"grabpointer", &vo_grabpointer
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
248 {"nograbpointer", &vo_grabpointer
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
250 {"adapter", &vo_adapter_num
, CONF_TYPE_INT
, CONF_RANGE
, 0, 5, NULL
},
251 {"refreshrate",&vo_refresh_rate
,CONF_TYPE_INT
,CONF_RANGE
, 0,100, NULL
},
252 {"wid", &WinID
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
254 // x11,xv,xmga,xvidix
255 {"icelayer", "-icelayer has been removed. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
256 {"stop-xscreensaver", &stop_xscreensaver
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
257 {"nostop-xscreensaver", &stop_xscreensaver
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
258 {"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
259 {"fstype", &vo_fstype_list
, CONF_TYPE_STRING_LIST
, 0, 0, 0, NULL
},
261 {"mouseinput", &vo_nomouse_input
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
262 {"nomouseinput", &vo_nomouse_input
, CONF_TYPE_FLAG
,0, 0, 1, NULL
},
264 {"xineramascreen", &xinerama_screen
, CONF_TYPE_INT
, CONF_RANGE
, -2, 32, NULL
},
266 {"brightness",&vo_gamma_brightness
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
267 {"saturation",&vo_gamma_saturation
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
268 {"contrast",&vo_gamma_contrast
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
269 {"hue",&vo_gamma_hue
, CONF_TYPE_INT
, CONF_RANGE
, -100, 100, NULL
},
270 {"keepaspect", &vo_keepaspect
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
271 {"nokeepaspect", &vo_keepaspect
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
273 // direct rendering (decoding to video out buffer)
274 {"dr", &vo_directrendering
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
275 {"nodr", &vo_directrendering
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
276 {"vaa_dr", "-vaa_dr has been removed, use -dr.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
277 {"vaa_nodr", "-vaa_nodr has been removed, use -nodr.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
281 {"aa*", "-aa* has been removed. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
286 {"zr*", vo_zr_parseoption
, CONF_TYPE_FUNC_FULL
, 0, 0, 0, &vo_zr_revertoption
},
290 {"dxr2", &dxr2_opts
, CONF_TYPE_SUBCONFIG
, 0, 0, 0, NULL
},
294 //---------------------- mplayer-only options ------------------------
296 {"use-filedir-conf", &use_filedir_conf
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
297 {"nouse-filedir-conf", &use_filedir_conf
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
299 {"crash-debug", &crash_debug
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
300 {"nocrash-debug", &crash_debug
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
302 {"osdlevel", &osd_level
, CONF_TYPE_INT
, CONF_RANGE
, 0, 3, NULL
},
303 {"osd-duration", &osd_duration
, CONF_TYPE_INT
, CONF_MIN
, 0, 0, NULL
},
305 {"menu", &use_menu
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
306 {"nomenu", &use_menu
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
307 {"menu-root", &menu_root
, CONF_TYPE_STRING
, CONF_GLOBAL
, 0, 0, NULL
},
308 {"menu-cfg", &menu_cfg
, CONF_TYPE_STRING
, CONF_GLOBAL
, 0, 0, NULL
},
309 {"menu-startup", &menu_startup
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
310 {"menu-keepdir", &menu_keepdir
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
311 {"menu-chroot", &menu_chroot
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
313 {"menu-fribidi-charset", &menu_fribidi_charset
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
314 {"menu-flip-hebrew", &menu_flip_hebrew
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
315 {"menu-noflip-hebrew", &menu_flip_hebrew
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
316 {"menu-flip-hebrew-commas", &menu_fribidi_flip_commas
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
317 {"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
320 {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT
,0, 0, 0, NULL
},
323 // these should be moved to -common, and supported in MEncoder
324 {"vobsub", &vobsub_name
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
325 {"vobsubid", &vobsub_id
, CONF_TYPE_INT
, CONF_RANGE
, 0, 31, NULL
},
327 {"sstep", &step_sec
, CONF_TYPE_INT
, CONF_MIN
, 0, 0, NULL
},
329 {"framedrop", &frame_dropping
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
330 {"hardframedrop", &frame_dropping
, CONF_TYPE_FLAG
, 0, 0, 2, NULL
},
331 {"noframedrop", &frame_dropping
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
333 {"autoq", &auto_quality
, CONF_TYPE_INT
, CONF_RANGE
, 0, 100, NULL
},
335 {"benchmark", &benchmark
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
337 // dump some stream out instead of playing the file
338 // this really should be in MEncoder instead of MPlayer... -> TODO
339 {"dumpfile", &stream_dump_name
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
340 {"dumpaudio", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
341 {"dumpvideo", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 2, NULL
},
342 {"dumpsub", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 3, NULL
},
343 {"dumpmpsub", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 4, NULL
},
344 {"dumpstream", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 5, NULL
},
345 {"dumpsrtsub", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 6, NULL
},
346 {"dumpmicrodvdsub", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 7, NULL
},
347 {"dumpjacosub", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 8, NULL
},
348 {"dumpsami", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 9, NULL
},
351 {"lircconf", &lirc_configfile
, CONF_TYPE_STRING
, CONF_GLOBAL
, 0, 0, NULL
},
354 {"gui", "The -gui option will only work as the first command line argument.\n", CONF_TYPE_PRINT
, 0, 0, 0, (void *)1},
355 {"nogui", "The -nogui option will only work as the first command line argument.\n", CONF_TYPE_PRINT
, 0, 0, 0, (void *)1},
358 {"skin", &skinName
, CONF_TYPE_STRING
, CONF_GLOBAL
, 0, 0, NULL
},
359 {"enqueue", &enqueue
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
360 {"noenqueue", &enqueue
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
361 {"guiwid", &guiWinID
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
364 {"noloop", &mpctx_s
.loop_times
, CONF_TYPE_FLAG
, 0, 0, -1, NULL
},
365 {"loop", &mpctx_s
.loop_times
, CONF_TYPE_INT
, CONF_RANGE
, -1, 10000, NULL
},
366 {"playlist", NULL
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
369 {"correct-pts", &correct_pts
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
370 {"no-correct-pts", &correct_pts
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
371 {"noautosync", &autosync
, CONF_TYPE_FLAG
, 0, 0, -1, NULL
},
372 {"autosync", &autosync
, CONF_TYPE_INT
, CONF_RANGE
, 0, 10000, NULL
},
373 // {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
374 // {"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
376 {"softsleep", &softsleep
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
378 {"nortc", &nortc
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
379 {"rtc", &nortc
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
380 {"rtc-device", &rtc_device
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
383 {"term-osd", &term_osd
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
384 {"noterm-osd", &term_osd
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
385 {"term-osd-esc", &term_osd_esc
, CONF_TYPE_STRING
, 0, 0, 1, NULL
},
386 {"playing-msg", &playing_msg
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
388 {"slave", &slave_mode
, CONF_TYPE_FLAG
,CONF_GLOBAL
, 0, 1, NULL
},
389 {"idle", &player_idle_mode
, CONF_TYPE_FLAG
,CONF_GLOBAL
, 0, 1, NULL
},
390 {"noidle", &player_idle_mode
, CONF_TYPE_FLAG
,CONF_GLOBAL
, 1, 0, NULL
},
391 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
392 {"key-fifo-size", &key_fifo_size
, CONF_TYPE_INT
, CONF_RANGE
, 2, 65000, NULL
},
393 {"noconsolecontrols", &noconsolecontrols
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
394 {"consolecontrols", &noconsolecontrols
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
395 {"mouse-movements", &enable_mouse_movements
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
396 {"nomouse-movements", &enable_mouse_movements
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
397 {"doubleclick-time", &doubleclick_time
, CONF_TYPE_INT
, CONF_RANGE
, 0, 1000, NULL
},
399 {"tvscan", tvscan_conf
, CONF_TYPE_SUBCONFIG
, 0, 0, 0, NULL
},
401 {"tvscan", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
405 #include "cfg-common.h"
408 {"list-properties", &list_properties
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
409 {"identify", &mp_msg_levels
[MSGT_IDENTIFY
], CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, MSGL_V
, NULL
},
410 {"-help", help_text
, CONF_TYPE_PRINT
, CONF_NOCFG
|CONF_GLOBAL
, 0, 0, NULL
},
411 {"help", help_text
, CONF_TYPE_PRINT
, CONF_NOCFG
|CONF_GLOBAL
, 0, 0, NULL
},
412 {"h", help_text
, CONF_TYPE_PRINT
, CONF_NOCFG
|CONF_GLOBAL
, 0, 0, NULL
},
414 {"vd", vd_conf
, CONF_TYPE_SUBCONFIG
, 0, 0, 0, NULL
},
415 {NULL
, NULL
, 0, 0, 0, 0, NULL
}