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