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