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