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