Ignore svn changes up to r30255
[mplayer/glamo.git] / cfg-mplayer.h
blobc00ad65214db42b2f2853a02e7f9e54ff980c55b
1 #ifndef MPLAYER_CFG_MPLAYER_H
2 #define MPLAYER_CFG_MPLAYER_H
4 /*
5 * config for cfgparser
6 */
8 #include <stddef.h>
10 #include "cfg-common.h"
11 #include "options.h"
13 extern char *fb_mode_cfgfile;
14 extern char *fb_mode_name;
15 extern char *dfb_params;
17 extern char *lirc_configfile;
19 /* only used at startup (setting these values from configfile) */
20 extern char *vo_geometry;
22 extern char *ao_outputfilename;
23 extern int ao_pcm_waveheader;
25 extern int fs_layer;
26 extern int stop_xscreensaver;
28 extern int menu_startup;
29 extern int menu_keepdir;
30 extern char *menu_chroot;
31 extern char *menu_fribidi_charset;
32 extern int menu_flip_hebrew;
33 extern int menu_fribidi_flip_commas;
35 extern char *unrar_executable;
37 int vo_zr_parseoption(const m_option_t* conf, char *opt, char * param);
38 void vo_zr_revertoption(const m_option_t* opt,char* pram);
40 extern m_option_t dxr2_opts[];
42 extern int sws_flags;
43 int readPPOpt(void *conf, char *arg);
44 void revertPPOpt(void *conf, char* opt);
45 extern char* pp_help;
47 const m_option_t vd_conf[]={
48 {"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},
49 {NULL, NULL, 0, 0, 0, 0, NULL}
52 #ifdef CONFIG_TV
53 const m_option_t tvscan_conf[]={
54 {"autostart", &stream_tv_defaults.scan, CONF_TYPE_FLAG, 0, 0, 1, NULL},
55 {"threshold", &stream_tv_defaults.scan_threshold, CONF_TYPE_INT, CONF_RANGE, 1, 100, NULL},
56 {"period", &stream_tv_defaults.scan_period, CONF_TYPE_FLOAT, CONF_RANGE, 0.1, 2.0, NULL},
57 {NULL, NULL, 0, 0, 0, 0, NULL}
59 #endif
61 * CONF_TYPE_FUNC_FULL :
62 * allows own implementations for passing the params
64 * the function receives parameter name and argument (if it does not start with - )
65 * useful with a conf.name like 'aa*' to parse several parameters to a function
66 * return 0 =ok, but we didn't need the param (could be the filename)
67 * return 1 =ok, we accepted the param
68 * negative values: see cfgparser.h, ERR_XXX
70 * by Folke
73 const m_option_t mplayer_opts[]={
74 /* name, pointer, type, flags, min, max */
76 //---------------------- libao/libvo options ------------------------
77 {"o", "Option -o has been renamed to -vo (video-out), use -vo.\n",
78 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
79 OPT_STRINGLIST("vo", video_driver_list, 0),
80 OPT_STRINGLIST("ao", audio_driver_list, 0),
81 OPT_FLAG_ON("fixed-vo", fixed_vo, CONF_GLOBAL),
82 OPT_FLAG_OFF("nofixed-vo", fixed_vo, CONF_GLOBAL),
83 OPT_FLAG_ON("ontop", vo_ontop, 0),
84 OPT_FLAG_OFF("noontop", vo_ontop, 0),
85 {"rootwin", &vo_rootwin, CONF_TYPE_FLAG, 0, 0, 1, NULL},
86 {"border", &vo_border, CONF_TYPE_FLAG, 0, 0, 1, NULL},
87 {"noborder", &vo_border, CONF_TYPE_FLAG, 0, 1, 0, NULL},
89 {"aop", "-aop has been removed, use -af instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
90 {"dsp", "-dsp has been removed. Use -ao oss:dsp_path instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
91 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
92 {"mixer-channel", &mixer_channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
93 {"softvol", &soft_vol, CONF_TYPE_FLAG, 0, 0, 1, NULL},
94 {"nosoftvol", &soft_vol, CONF_TYPE_FLAG, 0, 1, 0, NULL},
95 {"softvol-max", &soft_vol_max, CONF_TYPE_FLOAT, CONF_RANGE, 10, 10000, NULL},
96 {"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
97 {"volume", &start_volume, CONF_TYPE_FLOAT, CONF_RANGE, -1, 10000, NULL},
98 {"master", "Option -master has been removed, use -af volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
99 // override audio buffer size (used only by -ao oss, anyway obsolete...)
100 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
102 // -ao pcm options:
103 {"aofile", "-aofile has been removed. Use -ao pcm:file=<filename> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
104 {"waveheader", "-waveheader has been removed. Use -ao pcm:waveheader instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
105 {"nowaveheader", "-nowaveheader has been removed. Use -ao pcm:nowaveheader instead.\n", CONF_TYPE_PRINT, 0, 1, 0, NULL},
107 {"alsa", "-alsa has been removed. Remove it from your config file.\n",
108 CONF_TYPE_PRINT, 0, 0, 0, NULL},
109 {"noalsa", "-noalsa has been removed. Remove it from your config file.\n",
110 CONF_TYPE_PRINT, 0, 0, 0, NULL},
111 {"edlout", &edl_output_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
113 #ifdef CONFIG_X11
114 {"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0, NULL},
115 #endif
117 // -vo png only:
118 #ifdef CONFIG_PNG
119 {"z", "-z has been removed. Use -vo png:z=<0-9> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
120 #endif
121 // -vo jpeg only:
122 #ifdef CONFIG_JPEG
123 {"jpeg", "-jpeg has been removed. Use -vo jpeg:<options> instead.\n",
124 CONF_TYPE_PRINT, 0, 0, 0, NULL},
125 #endif
126 // -vo sdl only:
127 {"sdl", "Use -vo sdl:driver=<driver> instead of -vo sdl -sdl driver.\n",
128 CONF_TYPE_PRINT, 0, 0, 0, NULL},
129 {"noxv", "-noxv has been removed. Use -vo sdl:nohwaccel instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
130 {"forcexv", "-forcexv has been removed. Use -vo sdl:forcexv instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
131 // -ao sdl only:
132 {"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver.\n",
133 CONF_TYPE_PRINT, 0, 0, 0, NULL},
135 #if defined(CONFIG_FBDEV) || defined(CONFIG_VESA)
136 {"monitor-hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
137 {"monitor-vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
138 {"monitor-dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
139 #endif
141 #ifdef CONFIG_FBDEV
142 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
143 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
144 #endif
145 #ifdef CONFIG_DIRECTFB
146 #if DIRECTFBVERSION > 912
147 {"dfbopts", "-dfbopts has been removed. Use -vf directfb:dfbopts=... instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
148 #endif
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},
318 // {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
319 // {"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
321 {"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
322 #ifdef HAVE_RTC
323 {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
324 {"rtc", &nortc, CONF_TYPE_FLAG, 0, 1, 0, NULL},
325 {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
326 #endif
328 {"term-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 1, NULL},
329 {"noterm-osd", &term_osd, CONF_TYPE_FLAG, 0, 1, 0, NULL},
330 {"term-osd-esc", &term_osd_esc, CONF_TYPE_STRING, 0, 0, 1, NULL},
331 {"playing-msg", &playing_msg, CONF_TYPE_STRING, 0, 0, 0, NULL},
333 {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
334 {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
335 {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 1, 0, NULL},
336 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL},
337 OPT_INTRANGE("key-fifo-size", key_fifo_size, CONF_GLOBAL, 2, 65000),
338 {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
339 {"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
340 {"mouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
341 {"nomouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
342 OPT_INTRANGE("doubleclick-time", doubleclick_time, 0, 0, 1000),
343 #ifdef CONFIG_TV
344 {"tvscan", (void *) tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
345 #else
346 {"tvscan", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
347 #endif /* CONFIG_TV */
349 #include "cfg-common-opts.h"
351 {"list-properties", &list_properties, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
352 {"identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_FLAG, CONF_GLOBAL, 0, MSGL_V, NULL},
353 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
354 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
355 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
357 {"vd", (void *) vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
358 {NULL, NULL, 0, 0, 0, 0, NULL}
361 #endif /* MPLAYER_CFG_MPLAYER_H */