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