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