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