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
28 #include "cfg-common.h"
29 #include "libvo/vo_zr.h"
32 extern char *fb_mode_cfgfile
;
33 extern char *fb_mode_name
;
34 extern char *dfb_params
;
36 extern char *lirc_configfile
;
38 /* only used at startup (setting these values from configfile) */
39 extern char *vo_geometry
;
41 extern char *ao_outputfilename
;
42 extern int ao_pcm_waveheader
;
45 extern int stop_xscreensaver
;
47 extern int menu_startup
;
48 extern int menu_keepdir
;
49 extern char *menu_chroot
;
50 extern char *menu_fribidi_charset
;
51 extern int menu_flip_hebrew
;
52 extern int menu_fribidi_flip_commas
;
54 extern char *unrar_executable
;
56 extern const m_option_t dxr2_opts
[];
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
}
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
}
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
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 OPT_STRINGLIST("vo", video_driver_list
, 0),
94 OPT_STRINGLIST("ao", audio_driver_list
, 0),
95 OPT_FLAG_ON("fixed-vo", fixed_vo
, CONF_GLOBAL
),
96 OPT_FLAG_OFF("nofixed-vo", fixed_vo
, CONF_GLOBAL
),
97 OPT_FLAG_ON("ontop", vo_ontop
, 0),
98 OPT_FLAG_OFF("noontop", vo_ontop
, 0),
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
},
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
},
128 {"display", &mDisplayName
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
133 {"z", "-z has been removed. Use -vo png:z=<0-9> instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
137 {"jpeg", "-jpeg has been removed. Use -vo jpeg:<options> instead.\n",
138 CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
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
},
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
},
156 {"fbmode", &fb_mode_name
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
157 {"fbmodeconfig", &fb_mode_cfgfile
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
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
},
165 // force window width/height or resolution (with -vm)
166 OPT_INTRANGE("x", screen_size_x
, 0, 0, 4096),
167 OPT_INTRANGE("y", screen_size_y
, 0, 0, 4096),
168 // set screen dimensions (when not detectable or virtual!=visible)
169 OPT_INTRANGE("screenw", vo_screenwidth
, CONF_OLD
, 0, 4096),
170 OPT_INTRANGE("screenh", vo_screenheight
, CONF_OLD
, 0, 4096),
172 {"geometry", &vo_geometry
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
173 OPT_FLAG_ON("force-window-position", force_window_position
, 0),
174 OPT_FLAG_OFF("noforce-window-position", force_window_position
, 0),
175 // vo name (X classname) and window title strings
176 {"name", &vo_winname
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
177 {"title", &vo_wintitle
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
178 // set aspect ratio of monitor - useful for 16:9 TV-out
179 OPT_FLOATRANGE("monitoraspect", force_monitor_aspect
, 0, 0.0, 9.0),
180 OPT_FLOATRANGE("monitorpixelaspect", monitor_pixel_aspect
, 0, 0.2, 9.0),
181 // video mode switching: (x11,xv,dga)
182 OPT_FLAG_ON("vm", vidmode
, 0),
183 OPT_FLAG_OFF("novm", vidmode
, 0),
184 // start in fullscreen mode:
185 OPT_FLAG_ON("fs", fullscreen
, 0),
186 OPT_FLAG_OFF("nofs", fullscreen
, 0),
187 // set fullscreen switch method (workaround for buggy WMs)
188 {"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
},
189 {"fsmode-dontuse", &vo_fsmode
, CONF_TYPE_INT
, CONF_RANGE
, 0, 31, NULL
},
190 // set bpp (x11+vm, dga, fbdev, vesa, svga?)
191 OPT_INTRANGE("bpp", vo_dbpp
, 0, 0, 32),
192 {"colorkey", &vo_colorkey
, CONF_TYPE_INT
, 0, 0, 0, NULL
},
193 {"nocolorkey", &vo_colorkey
, CONF_TYPE_FLAG
, 0, 0, 0x1000000, NULL
},
194 {"double", &vo_doublebuffering
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
195 {"nodouble", &vo_doublebuffering
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
196 // wait for v-sync (vesa)
197 {"vsync", &vo_vsync
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
198 {"novsync", &vo_vsync
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
199 {"panscan", &vo_panscan
, CONF_TYPE_FLOAT
, CONF_RANGE
, -1.0, 1.0, NULL
},
200 OPT_FLOATRANGE("panscanrange", vo_panscanrange
, 0, -19.0, 99.0),
202 {"grabpointer", &vo_grabpointer
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
203 {"nograbpointer", &vo_grabpointer
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
205 {"adapter", &vo_adapter_num
, CONF_TYPE_INT
, CONF_RANGE
, 0, 5, NULL
},
206 {"refreshrate",&vo_refresh_rate
,CONF_TYPE_INT
,CONF_RANGE
, 0,100, NULL
},
207 {"wid", &WinID
, CONF_TYPE_INT64
, 0, 0, 0, NULL
},
209 // x11,xv,xmga,xvidix
210 {"icelayer", "-icelayer has been removed. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
211 {"stop-xscreensaver", &stop_xscreensaver
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
212 {"nostop-xscreensaver", &stop_xscreensaver
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
213 {"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
214 {"fstype", &vo_fstype_list
, CONF_TYPE_STRING_LIST
, 0, 0, 0, NULL
},
216 {"heartbeat-cmd", &heartbeat_cmd
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
217 {"mouseinput", &vo_nomouse_input
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
218 {"nomouseinput", &vo_nomouse_input
, CONF_TYPE_FLAG
,0, 0, 1, NULL
},
220 {"xineramascreen", &xinerama_screen
, CONF_TYPE_INT
, CONF_RANGE
, -2, 32, NULL
},
222 OPT_INTRANGE("brightness", vo_gamma_brightness
, 0, -100, 100),
223 OPT_INTRANGE("saturation", vo_gamma_saturation
, 0, -100, 100),
224 OPT_INTRANGE("contrast", vo_gamma_contrast
, 0, -100, 100),
225 OPT_INTRANGE("hue", vo_gamma_hue
, 0, -100, 100),
226 {"keepaspect", &vo_keepaspect
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
227 {"nokeepaspect", &vo_keepaspect
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
229 // direct rendering (decoding to video out buffer)
230 {"dr", &vo_directrendering
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
231 {"nodr", &vo_directrendering
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
232 {"vaa_dr", "-vaa_dr has been removed, use -dr.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
233 {"vaa_nodr", "-vaa_nodr has been removed, use -nodr.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
237 {"aa*", "-aa* has been removed. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
242 {"zr*", vo_zr_parseoption
, CONF_TYPE_FUNC_FULL
, 0, 0, 0, &vo_zr_revertoption
},
246 {"dxr2", &dxr2_opts
, CONF_TYPE_SUBCONFIG
, 0, 0, 0, NULL
},
250 //---------------------- mplayer-only options ------------------------
252 {"use-filedir-conf", &use_filedir_conf
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
253 {"nouse-filedir-conf", &use_filedir_conf
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
254 {"use-filename-title", &use_filename_title
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
255 {"nouse-filename-title", &use_filename_title
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
256 #ifdef CONFIG_CRASH_DEBUG
257 {"crash-debug", &crash_debug
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
258 {"nocrash-debug", &crash_debug
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
260 OPT_INTRANGE("osdlevel", osd_level
, 0, 0, 3),
261 OPT_INTRANGE("osd-duration", osd_duration
, 0, 0, 3600000),
263 {"menu", &use_menu
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
264 {"nomenu", &use_menu
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
265 {"menu-root", &menu_root
, CONF_TYPE_STRING
, CONF_GLOBAL
, 0, 0, NULL
},
266 {"menu-cfg", &menu_cfg
, CONF_TYPE_STRING
, CONF_GLOBAL
, 0, 0, NULL
},
267 {"menu-startup", &menu_startup
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
268 {"menu-keepdir", &menu_keepdir
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
269 {"menu-chroot", &menu_chroot
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
270 #ifdef CONFIG_FRIBIDI
271 {"menu-fribidi-charset", &menu_fribidi_charset
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
272 {"menu-flip-hebrew", &menu_flip_hebrew
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
273 {"menu-noflip-hebrew", &menu_flip_hebrew
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
274 {"menu-flip-hebrew-commas", &menu_fribidi_flip_commas
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
275 {"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
276 #endif /* CONFIG_FRIBIDI */
278 {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT
,0, 0, 0, NULL
},
279 #endif /* CONFIG_MENU */
281 // these should be moved to -common, and supported in MEncoder
282 {"vobsub", &vobsub_name
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
283 {"vobsubid", &vobsub_id
, CONF_TYPE_INT
, CONF_RANGE
, 0, 31, NULL
},
284 #ifdef CONFIG_UNRAR_EXEC
285 {"unrarexec", &unrar_executable
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
288 {"sstep", &step_sec
, CONF_TYPE_INT
, CONF_MIN
, 0, 0, NULL
},
290 {"framedrop", &frame_dropping
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
291 {"hardframedrop", &frame_dropping
, CONF_TYPE_FLAG
, 0, 0, 2, NULL
},
292 {"noframedrop", &frame_dropping
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
294 {"autoq", &auto_quality
, CONF_TYPE_INT
, CONF_RANGE
, 0, 100, NULL
},
296 {"benchmark", &benchmark
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
298 // dump some stream out instead of playing the file
299 // this really should be in MEncoder instead of MPlayer... -> TODO
300 {"dumpfile", &stream_dump_name
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
301 {"dumpaudio", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
302 {"dumpvideo", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 2, NULL
},
303 {"dumpsub", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 3, NULL
},
304 {"dumpmpsub", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 4, NULL
},
305 {"dumpstream", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 5, NULL
},
306 {"dumpsrtsub", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 6, NULL
},
307 {"dumpmicrodvdsub", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 7, NULL
},
308 {"dumpjacosub", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 8, NULL
},
309 {"dumpsami", &stream_dump_type
, CONF_TYPE_FLAG
, 0, 0, 9, NULL
},
312 {"lircconf", &lirc_configfile
, CONF_TYPE_STRING
, CONF_GLOBAL
, 0, 0, NULL
},
315 // these should be removed when gmplayer is forgotten
316 {"gui", "Internal GUI was removed. Use some other frontend instead.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
317 {"nogui", "Internal GUI was removed, -nogui is no longer valid.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
319 OPT_FLAG_CONSTANTS("noloop", loop_times
, 0, 0, -1),
320 OPT_INTRANGE("loop", loop_times
, 0, -1, 10000),
321 {"playlist", NULL
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
323 OPT_FLAG_ON("ordered-chapters", ordered_chapters
, 0),
324 OPT_FLAG_OFF("noordered-chapters", ordered_chapters
, 0),
327 OPT_FLAG_ON("correct-pts", user_correct_pts
, 0),
328 OPT_FLAG_OFF("nocorrect-pts", user_correct_pts
, 0),
329 OPT_INTRANGE("pts-association-mode", user_pts_assoc_mode
, 0, 0, 2),
330 {"noautosync", &autosync
, CONF_TYPE_FLAG
, 0, 0, -1, NULL
},
331 {"autosync", &autosync
, CONF_TYPE_INT
, CONF_RANGE
, 0, 10000, NULL
},
333 {"softsleep", &softsleep
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
335 {"nortc", &nortc
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
336 {"rtc", &nortc
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
337 {"rtc-device", &rtc_device
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
340 {"term-osd", &term_osd
, CONF_TYPE_FLAG
, 0, 0, 1, NULL
},
341 {"noterm-osd", &term_osd
, CONF_TYPE_FLAG
, 0, 1, 0, NULL
},
342 {"term-osd-esc", &term_osd_esc
, CONF_TYPE_STRING
, 0, 0, 1, NULL
},
343 {"playing-msg", &playing_msg
, CONF_TYPE_STRING
, 0, 0, 0, NULL
},
345 {"slave", &slave_mode
, CONF_TYPE_FLAG
,CONF_GLOBAL
, 0, 1, NULL
},
346 {"idle", &player_idle_mode
, CONF_TYPE_FLAG
,CONF_GLOBAL
, 0, 1, NULL
},
347 {"noidle", &player_idle_mode
, CONF_TYPE_FLAG
,CONF_GLOBAL
, 1, 0, NULL
},
348 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
349 OPT_INTRANGE("key-fifo-size", key_fifo_size
, CONF_GLOBAL
, 2, 65000),
350 {"noconsolecontrols", &noconsolecontrols
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
351 {"consolecontrols", &noconsolecontrols
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
352 {"mouse-movements", &enable_mouse_movements
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
353 {"nomouse-movements", &enable_mouse_movements
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 1, 0, NULL
},
354 OPT_INTRANGE("doubleclick-time", doubleclick_time
, 0, 0, 1000),
356 {"tvscan", (void *) tvscan_conf
, CONF_TYPE_SUBCONFIG
, 0, 0, 0, NULL
},
358 {"tvscan", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT
, 0, 0, 0, NULL
},
359 #endif /* CONFIG_TV */
361 #include "cfg-common-opts.h"
363 {"list-properties", &list_properties
, CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, 1, NULL
},
364 {"identify", &mp_msg_levels
[MSGT_IDENTIFY
], CONF_TYPE_FLAG
, CONF_GLOBAL
, 0, MSGL_V
, NULL
},
365 {"-help", (void *) help_text
, CONF_TYPE_PRINT
, CONF_NOCFG
|CONF_GLOBAL
, 0, 0, NULL
},
366 {"help", (void *) help_text
, CONF_TYPE_PRINT
, CONF_NOCFG
|CONF_GLOBAL
, 0, 0, NULL
},
367 {"h", (void *) help_text
, CONF_TYPE_PRINT
, CONF_NOCFG
|CONF_GLOBAL
, 0, 0, NULL
},
369 {"vd", (void *) vd_conf
, CONF_TYPE_SUBCONFIG
, 0, 0, 0, NULL
},
370 {NULL
, NULL
, 0, 0, 0, 0, NULL
}
373 #endif /* MPLAYER_CFG_MPLAYER_H */