Do not use correct-pts for mpeg-ps: It breaks PAFF samples.
[mplayer/greg.git] / cfg-mplayer.h
blob1cb5b5ff59bd30baef83700335c992e51c5ee217
1 /*
2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef MPLAYER_CFG_MPLAYER_H
20 #define MPLAYER_CFG_MPLAYER_H
23 * config for cfgparser
26 #include "cfg-common.h"
27 #include "libmpcodecs/vd.h"
28 #include "libvo/vo_zr.h"
30 extern int key_fifo_size;
31 extern unsigned doubleclick_time;
33 extern char *fb_mode_cfgfile;
34 extern char *fb_mode_name;
35 extern char *dfb_params;
37 extern char *lirc_configfile;
39 extern float vo_panscanrange;
40 /* only used at startup (setting these values from configfile) */
41 extern char *vo_geometry;
43 extern char *ao_outputfilename;
44 extern int ao_pcm_waveheader;
46 extern int fs_layer;
47 extern int stop_xscreensaver;
49 extern int menu_startup;
50 extern int menu_keepdir;
51 extern char *menu_chroot;
52 extern char *menu_fribidi_charset;
53 extern int menu_flip_hebrew;
54 extern int menu_fribidi_flip_commas;
56 extern char *unrar_executable;
58 extern const m_option_t dxr2_opts[];
60 extern char * skinName;
61 extern int guiWinID;
64 /* from libvo/aspect.c */
65 extern float force_monitor_aspect;
66 extern float monitor_pixel_aspect;
68 extern int sws_flags;
69 extern char* pp_help;
71 const m_option_t vd_conf[]={
72 {"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},
73 {NULL, NULL, 0, 0, 0, 0, NULL}
76 #ifdef CONFIG_TV
77 const m_option_t tvscan_conf[]={
78 {"autostart", &stream_tv_defaults.scan, CONF_TYPE_FLAG, 0, 0, 1, NULL},
79 {"threshold", &stream_tv_defaults.scan_threshold, CONF_TYPE_INT, CONF_RANGE, 1, 100, NULL},
80 {"period", &stream_tv_defaults.scan_period, CONF_TYPE_FLOAT, CONF_RANGE, 0.1, 2.0, NULL},
81 {NULL, NULL, 0, 0, 0, 0, NULL}
83 #endif
85 * CONF_TYPE_FUNC_FULL :
86 * allows own implementations for passing the params
88 * the function receives parameter name and argument (if it does not start with - )
89 * useful with a conf.name like 'aa*' to parse several parameters to a function
90 * return 0 =ok, but we didn't need the param (could be the filename)
91 * return 1 =ok, we accepted the param
92 * negative values: see cfgparser.h, ERR_XXX
94 * by Folke
97 const m_option_t mplayer_opts[]={
98 /* name, pointer, type, flags, min, max */
100 //---------------------- libao/libvo options ------------------------
101 {"o", "Option -o has been renamed to -vo (video-out), use -vo.\n",
102 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
103 {"vo", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
104 {"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
105 {"fixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
106 {"nofixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL, 1, 0, NULL},
107 {"ontop", &vo_ontop, CONF_TYPE_FLAG, 0, 0, 1, NULL},
108 {"noontop", &vo_ontop, CONF_TYPE_FLAG, 0, 1, 0, NULL},
109 {"rootwin", &vo_rootwin, CONF_TYPE_FLAG, 0, 0, 1, NULL},
110 {"border", &vo_border, CONF_TYPE_FLAG, 0, 0, 1, NULL},
111 {"noborder", &vo_border, CONF_TYPE_FLAG, 0, 1, 0, NULL},
113 {"aop", "-aop has been removed, use -af instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
114 {"dsp", "-dsp has been removed. Use -ao oss:dsp_path instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
115 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
116 {"mixer-channel", &mixer_channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
117 {"softvol", &soft_vol, CONF_TYPE_FLAG, 0, 0, 1, NULL},
118 {"nosoftvol", &soft_vol, CONF_TYPE_FLAG, 0, 1, 0, NULL},
119 {"softvol-max", &soft_vol_max, CONF_TYPE_FLOAT, CONF_RANGE, 10, 10000, NULL},
120 {"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
121 {"volume", &start_volume, CONF_TYPE_FLOAT, CONF_RANGE, -1, 10000, NULL},
122 {"master", "Option -master has been removed, use -af volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
123 // override audio buffer size (used only by -ao oss, anyway obsolete...)
124 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
126 // -ao pcm options:
127 {"aofile", "-aofile has been removed. Use -ao pcm:file=<filename> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
128 {"waveheader", "-waveheader has been removed. Use -ao pcm:waveheader instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
129 {"nowaveheader", "-nowaveheader has been removed. Use -ao pcm:nowaveheader instead.\n", CONF_TYPE_PRINT, 0, 1, 0, NULL},
131 {"alsa", "-alsa has been removed. Remove it from your config file.\n",
132 CONF_TYPE_PRINT, 0, 0, 0, NULL},
133 {"noalsa", "-noalsa has been removed. Remove it from your config file.\n",
134 CONF_TYPE_PRINT, 0, 0, 0, NULL},
135 {"edlout", &edl_output_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
137 #ifdef CONFIG_X11
138 {"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0, NULL},
139 #endif
141 // -vo png only:
142 #ifdef CONFIG_PNG
143 {"z", "-z has been removed. Use -vo png:z=<0-9> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
144 #endif
145 // -vo jpeg only:
146 #ifdef CONFIG_JPEG
147 {"jpeg", "-jpeg has been removed. Use -vo jpeg:<options> instead.\n",
148 CONF_TYPE_PRINT, 0, 0, 0, NULL},
149 #endif
150 // -vo sdl only:
151 {"sdl", "Use -vo sdl:driver=<driver> instead of -vo sdl -sdl driver.\n",
152 CONF_TYPE_PRINT, 0, 0, 0, NULL},
153 {"noxv", "-noxv has been removed. Use -vo sdl:nohwaccel instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
154 {"forcexv", "-forcexv has been removed. Use -vo sdl:forcexv instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
155 // -ao sdl only:
156 {"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver.\n",
157 CONF_TYPE_PRINT, 0, 0, 0, NULL},
159 #if defined(CONFIG_FBDEV) || defined(CONFIG_VESA)
160 {"monitor-hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
161 {"monitor-vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
162 {"monitor-dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
163 #endif
165 #ifdef CONFIG_FBDEV
166 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
167 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
168 #endif
169 #ifdef CONFIG_DIRECTFB
170 #if DIRECTFBVERSION > 912
171 {"dfbopts", "-dfbopts has been removed. Use -vf directfb:dfbopts=... instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
172 #endif
173 #endif
175 // force window width/height or resolution (with -vm)
176 {"x", &opt_screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
177 {"y", &opt_screen_size_y, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
178 // set screen dimensions (when not detectable or virtual!=visible)
179 {"screenw", &vo_screenwidth, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
180 {"screenh", &vo_screenheight, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
181 // Geometry string
182 {"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL},
183 // vo name (X classname) and window title strings
184 {"name", &vo_winname, CONF_TYPE_STRING, 0, 0, 0, NULL},
185 {"title", &vo_wintitle, CONF_TYPE_STRING, 0, 0, 0, NULL},
186 // set aspect ratio of monitor - useful for 16:9 TV-out
187 {"monitoraspect", &force_monitor_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 9.0, NULL},
188 {"monitorpixelaspect", &monitor_pixel_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 9.0, NULL},
189 // video mode switching: (x11,xv,dga)
190 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
191 {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
192 // start in fullscreen mode:
193 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1, NULL},
194 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0, NULL},
195 // set fullscreen switch method (workaround for buggy WMs)
196 {"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},
197 {"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
198 // set bpp (x11+vm, dga, fbdev, vesa, svga?)
199 {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL},
200 {"colorkey", &vo_colorkey, CONF_TYPE_INT, 0, 0, 0, NULL},
201 {"nocolorkey", &vo_colorkey, CONF_TYPE_FLAG, 0, 0, 0x1000000, NULL},
202 {"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
203 {"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
204 // wait for v-sync (vesa)
205 {"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
206 {"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
207 {"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
208 {"panscanrange", &vo_panscanrange, CONF_TYPE_FLOAT, CONF_RANGE, -19.0, 99.0, NULL},
210 {"grabpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
211 {"nograbpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 1, 0, NULL},
213 {"adapter", &vo_adapter_num, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
214 {"refreshrate",&vo_refresh_rate,CONF_TYPE_INT,CONF_RANGE, 0,100, NULL},
215 {"wid", &WinID, CONF_TYPE_INT64, 0, 0, 0, NULL},
216 #ifdef CONFIG_X11
217 // x11,xv,xmga,xvidix
218 {"icelayer", "-icelayer has been removed. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
219 {"stop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 0, 1, NULL},
220 {"nostop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 1, 0, NULL},
221 {"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
222 {"fstype", &vo_fstype_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
223 #endif
224 {"heartbeat-cmd", &heartbeat_cmd, CONF_TYPE_STRING, 0, 0, 0, NULL},
225 {"mouseinput", &vo_nomouse_input, CONF_TYPE_FLAG, 0, 1, 0, NULL},
226 {"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0, 0, 1, NULL},
228 {"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, -2, 32, NULL},
230 {"brightness",&vo_gamma_brightness, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
231 {"saturation",&vo_gamma_saturation, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
232 {"contrast",&vo_gamma_contrast, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
233 {"hue",&vo_gamma_hue, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
234 {"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
235 {"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},
237 // direct rendering (decoding to video out buffer)
238 {"dr", &vo_directrendering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
239 {"nodr", &vo_directrendering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
240 {"vaa_dr", "-vaa_dr has been removed, use -dr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
241 {"vaa_nodr", "-vaa_nodr has been removed, use -nodr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
243 #ifdef CONFIG_AA
244 // -vo aa
245 {"aa*", "-aa* has been removed. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
246 #endif
248 #ifdef CONFIG_ZR
249 // -vo zr
250 {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption },
251 #endif
253 #ifdef CONFIG_DXR2
254 {"dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
255 #endif
258 //---------------------- mplayer-only options ------------------------
260 {"use-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
261 {"nouse-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
262 {"use-filename-title", &use_filename_title, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
263 {"nouse-filename-title", &use_filename_title, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
264 #ifdef CONFIG_CRASH_DEBUG
265 {"crash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
266 {"nocrash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
267 #endif
268 {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
269 {"osd-duration", &osd_duration, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
270 #ifdef CONFIG_MENU
271 {"menu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
272 {"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
273 {"menu-root", &menu_root, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
274 {"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
275 {"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
276 {"menu-keepdir", &menu_keepdir, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
277 {"menu-chroot", &menu_chroot, CONF_TYPE_STRING, 0, 0, 0, NULL},
278 #ifdef CONFIG_FRIBIDI
279 {"menu-fribidi-charset", &menu_fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL},
280 {"menu-flip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL},
281 {"menu-noflip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL},
282 {"menu-flip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL},
283 {"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL},
284 #endif /* CONFIG_FRIBIDI */
285 #else
286 {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
287 #endif /* CONFIG_MENU */
289 // these should be moved to -common, and supported in MEncoder
290 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
291 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
292 #ifdef CONFIG_UNRAR_EXEC
293 {"unrarexec", &unrar_executable, CONF_TYPE_STRING, 0, 0, 0, NULL},
294 #endif
296 {"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
298 {"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL},
299 {"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL},
300 {"noframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 1, 0, NULL},
302 {"autoq", &auto_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
304 {"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1, NULL},
306 // dump some stream out instead of playing the file
307 // this really should be in MEncoder instead of MPlayer... -> TODO
308 {"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
309 {"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1, NULL},
310 {"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2, NULL},
311 {"dumpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 3, NULL},
312 {"dumpmpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 4, NULL},
313 {"dumpstream", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 5, NULL},
314 {"dumpsrtsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 6, NULL},
315 {"dumpmicrodvdsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 7, NULL},
316 {"dumpjacosub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 8, NULL},
317 {"dumpsami", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 9, NULL},
319 #ifdef CONFIG_LIRC
320 {"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
321 #endif
323 {"gui", "The -gui option will only work as the first command line argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
324 {"nogui", "The -nogui option will only work as the first command line argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
326 #ifdef CONFIG_GUI
327 {"skin", &skinName, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
328 {"enqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 1, NULL},
329 {"noenqueue", &enqueue, CONF_TYPE_FLAG, 0, 1, 0, NULL},
330 {"guiwid", &guiWinID, CONF_TYPE_INT, 0, 0, 0, NULL},
331 #endif
333 {"noloop", &mpctx_s.loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL},
334 {"loop", &mpctx_s.loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL},
335 {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
337 // a-v sync stuff:
338 {"correct-pts", &user_correct_pts, CONF_TYPE_FLAG, 0, 0, 1, NULL},
339 {"nocorrect-pts", &user_correct_pts, CONF_TYPE_FLAG, 0, 1, 0, NULL},
340 {"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
341 {"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
343 {"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
344 #ifdef HAVE_RTC
345 {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
346 {"rtc", &nortc, CONF_TYPE_FLAG, 0, 1, 0, NULL},
347 {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
348 #endif
350 {"term-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 1, NULL},
351 {"noterm-osd", &term_osd, CONF_TYPE_FLAG, 0, 1, 0, NULL},
352 {"term-osd-esc", &term_osd_esc, CONF_TYPE_STRING, 0, 0, 1, NULL},
353 {"playing-msg", &playing_msg, CONF_TYPE_STRING, 0, 0, 0, NULL},
355 {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
356 {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
357 {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 1, 0, NULL},
358 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL},
359 {"key-fifo-size", &key_fifo_size, CONF_TYPE_INT, CONF_RANGE, 2, 65000, NULL},
360 {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
361 {"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
362 {"mouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
363 {"nomouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
364 {"doubleclick-time", &doubleclick_time, CONF_TYPE_INT, CONF_RANGE, 0, 1000, NULL},
365 #ifdef CONFIG_TV
366 {"tvscan", tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
367 #else
368 {"tvscan", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
369 #endif /* CONFIG_TV */
371 #include "cfg-common-opts.h"
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}
383 #endif /* MPLAYER_CFG_MPLAYER_H */