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