2001-03-19 00:32:31 +01:00
|
|
|
/*
|
|
|
|
* config for cfgparser
|
|
|
|
*/
|
|
|
|
|
2001-08-15 21:26:22 +02:00
|
|
|
|
2001-04-12 22:37:25 +02:00
|
|
|
#ifdef HAVE_FBDEV
|
|
|
|
extern char *fb_dev_name;
|
|
|
|
extern char *fb_mode_cfgfile;
|
|
|
|
extern char *fb_mode_name;
|
2001-04-15 22:31:58 +02:00
|
|
|
extern char *monitor_hfreq_str;
|
|
|
|
extern char *monitor_vfreq_str;
|
|
|
|
extern char *monitor_dotclock_str;
|
2001-04-12 22:37:25 +02:00
|
|
|
#endif
|
2001-04-19 22:11:27 +02:00
|
|
|
#ifdef HAVE_PNG
|
|
|
|
extern int z_compression;
|
|
|
|
#endif
|
2001-04-25 22:44:30 +02:00
|
|
|
#ifdef HAVE_SDL
|
2001-06-22 00:47:21 +02:00
|
|
|
//extern char *sdl_driver;
|
2001-04-25 22:44:30 +02:00
|
|
|
extern int sdl_noxv;
|
|
|
|
extern int sdl_forcexv;
|
2001-06-22 00:47:21 +02:00
|
|
|
//extern char *sdl_adriver;
|
2001-04-25 22:44:30 +02:00
|
|
|
#endif
|
2001-05-08 23:49:00 +02:00
|
|
|
#ifdef USE_FAKE_MONO
|
|
|
|
extern int fakemono; // defined in dec_audio.c
|
|
|
|
#endif
|
2001-04-25 22:44:30 +02:00
|
|
|
|
2001-06-17 22:38:02 +02:00
|
|
|
#ifdef HAVE_LIRC
|
|
|
|
extern char *lirc_configfile;
|
|
|
|
#endif
|
|
|
|
|
2001-07-30 04:00:54 +02:00
|
|
|
#ifndef USE_LIBVO2
|
2001-06-17 22:38:02 +02:00
|
|
|
extern int vo_doublebuffering;
|
2001-07-04 01:44:19 +02:00
|
|
|
extern int vo_fsmode;
|
2001-04-23 05:38:17 +02:00
|
|
|
extern int vo_dbpp;
|
2001-07-30 04:00:54 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USE_SUB
|
2001-05-08 21:39:21 +02:00
|
|
|
extern int sub_unicode;
|
2001-08-13 13:08:18 +02:00
|
|
|
extern int sub_utf8;
|
2001-10-10 15:07:42 +02:00
|
|
|
#ifdef USE_ICONV
|
|
|
|
extern char *sub_cp;
|
|
|
|
#endif
|
2001-07-30 04:00:54 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USE_OSD
|
|
|
|
extern int osd_level;
|
|
|
|
#endif
|
2001-04-12 22:37:25 +02:00
|
|
|
|
2001-06-12 16:24:26 +02:00
|
|
|
extern char *ao_outputfilename;
|
|
|
|
extern int ao_pcm_waveheader;
|
|
|
|
|
2001-06-01 00:32:58 +02:00
|
|
|
#ifdef HAVE_X11
|
|
|
|
extern char *mDisplayName;
|
|
|
|
#endif
|
|
|
|
|
2001-08-14 21:00:00 +02:00
|
|
|
#ifdef HAVE_AA
|
2001-08-15 21:26:22 +02:00
|
|
|
extern int vo_aa_parseoption(struct config * conf, char *opt, char * param);
|
2001-08-14 21:00:00 +02:00
|
|
|
#endif
|
|
|
|
|
2001-08-20 23:20:03 +02:00
|
|
|
#ifdef USE_DVDREAD
|
|
|
|
extern int dvd_title;
|
|
|
|
extern int dvd_chapter;
|
|
|
|
extern int dvd_angle;
|
|
|
|
#endif
|
|
|
|
|
2001-09-07 23:04:14 +02:00
|
|
|
#ifdef HAVE_NEW_GUI
|
|
|
|
extern char * skinName;
|
|
|
|
#endif
|
|
|
|
|
2001-10-13 17:45:01 +02:00
|
|
|
#ifdef HAVE_ODIVX_POSTPROCESS
|
|
|
|
extern int use_old_pp;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2001-10-03 16:41:53 +02:00
|
|
|
/* from libvo/aspect.c */
|
|
|
|
extern float monitor_aspect;
|
|
|
|
|
2001-08-15 21:26:22 +02:00
|
|
|
/*
|
|
|
|
* CONF_TYPE_FUNC_FULL :
|
|
|
|
* allows own implemtations for passing the params
|
|
|
|
*
|
|
|
|
* the function receives parameter name and argument (if it does not start with - )
|
|
|
|
* useful with a conf.name like 'aa*' to parse several parameters to a function
|
|
|
|
* return 0 =ok, but we didn't need the param (could be the filename)
|
|
|
|
* return 1 =ok, we accepted the param
|
|
|
|
* negative values: see cfgparser.h, ERR_XXX
|
|
|
|
*
|
|
|
|
* by Folke
|
|
|
|
*/
|
|
|
|
|
2001-03-19 00:32:31 +01:00
|
|
|
struct config conf[]={
|
2001-04-16 01:22:01 +02:00
|
|
|
/* name, pointer, type, flags, min, max */
|
|
|
|
{"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */
|
|
|
|
{"o", "Option -o has been renamed to -vo (video-out), use -vo !\n",
|
2001-03-19 04:45:49 +01:00
|
|
|
CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
|
2001-04-16 01:22:01 +02:00
|
|
|
{"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0},
|
2001-06-03 02:24:49 +02:00
|
|
|
{"ao", &audio_driver, CONF_TYPE_STRING, 0, 0, 0},
|
2001-07-02 21:25:34 +02:00
|
|
|
// {"dsp", &dsp, CONF_TYPE_STRING, CONF_NOCFG, 0, 0},
|
|
|
|
{"dsp", "Use -ao oss:dsp_path!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
|
2001-04-16 02:21:00 +02:00
|
|
|
{"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0},
|
2001-06-05 20:40:44 +02:00
|
|
|
{"master", &mixer_usemaster, CONF_TYPE_FLAG, 0, 0, 1},
|
2001-06-01 00:32:58 +02:00
|
|
|
#ifdef HAVE_X11
|
|
|
|
{"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
#endif
|
2001-04-26 17:50:45 +02:00
|
|
|
{"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 2 },
|
2001-04-18 00:04:44 +02:00
|
|
|
#ifdef HAVE_LIBCSS
|
2001-06-05 04:13:31 +02:00
|
|
|
{"dvdauth", &dvd_auth_device, CONF_TYPE_STRING, 0, 0, 0},
|
2001-04-20 16:32:09 +02:00
|
|
|
{"dvdkey", &dvdimportkey, CONF_TYPE_STRING, 0, 0, 0},
|
2001-08-20 23:20:03 +02:00
|
|
|
// {"dvd", "Option -dvd will be \"full disk\" mode, old meaning has been renamed to -dvdauth.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
|
2001-04-18 00:04:44 +02:00
|
|
|
#else
|
2001-08-20 23:20:03 +02:00
|
|
|
// {"dvd", "DVD support was not compiled in. See file DOCS/DVD.\n",
|
|
|
|
// CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
|
2001-10-21 20:50:15 +02:00
|
|
|
#ifdef USE_DVDREAD
|
|
|
|
{"dvdkey", "MPlayer was compiled with libdvdread support, this option not available.\n",
|
|
|
|
CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
|
|
|
|
{"dvdauth", "MPlayer was compiled with libdvdread support! Use option -dvd !\n",
|
|
|
|
CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
|
|
|
|
#else
|
2001-06-05 04:13:31 +02:00
|
|
|
{"dvdkey", "DVD support was not compiled in. See file DOCS/DVD.\n",
|
|
|
|
CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
|
|
|
|
{"dvdauth", "DVD support was not compiled in. See file DOCS/DVD.\n",
|
|
|
|
CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
|
2001-04-18 00:04:44 +02:00
|
|
|
#endif
|
2001-10-21 20:50:15 +02:00
|
|
|
#endif
|
2001-04-18 00:04:44 +02:00
|
|
|
|
2001-03-28 14:08:44 +02:00
|
|
|
#ifdef HAVE_FBDEV
|
2001-04-15 22:31:58 +02:00
|
|
|
{"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"monitor_hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"monitor_vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"monitor_dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0},
|
2001-03-28 14:08:44 +02:00
|
|
|
#endif
|
2001-04-16 01:22:01 +02:00
|
|
|
{"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0},
|
2001-07-30 04:00:54 +02:00
|
|
|
#ifdef USE_SUB
|
2001-04-16 01:22:01 +02:00
|
|
|
{"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0},
|
2001-10-10 15:07:42 +02:00
|
|
|
#ifdef USE_ICONV
|
|
|
|
{"subcp", &sub_cp, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
#endif
|
2001-04-16 01:22:01 +02:00
|
|
|
{"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0},
|
|
|
|
{"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0},
|
2001-04-18 22:45:42 +02:00
|
|
|
{"noautosub", &sub_auto, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-05-08 21:39:21 +02:00
|
|
|
{"unicode", &sub_unicode, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"nounicode", &sub_unicode, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-08-13 13:08:18 +02:00
|
|
|
{"utf8", &sub_utf8, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"noutf8", &sub_utf8, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-07-30 04:00:54 +02:00
|
|
|
#endif
|
|
|
|
#ifdef USE_OSD
|
2001-04-16 01:22:01 +02:00
|
|
|
{"font", &font_name, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0},
|
2001-07-30 04:00:54 +02:00
|
|
|
#endif
|
2001-04-16 01:22:01 +02:00
|
|
|
{"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0},
|
|
|
|
{"sb", &seek_to_byte, CONF_TYPE_INT, CONF_MIN, 0, 0},
|
2001-06-02 00:48:50 +02:00
|
|
|
{"ss", &seek_to_sec, CONF_TYPE_STRING, CONF_MIN, 0, 0},
|
2001-10-23 22:15:00 +02:00
|
|
|
{"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0},
|
2001-10-22 16:42:47 +02:00
|
|
|
{"loop", &loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000},
|
2001-04-16 01:22:01 +02:00
|
|
|
{"sound", &has_audio, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"nosound", &has_audio, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-06-03 01:30:26 +02:00
|
|
|
{"abs", &ao_buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0},
|
2001-04-16 01:22:01 +02:00
|
|
|
{"delay", &audio_delay, CONF_TYPE_FLOAT, CONF_RANGE, -10.0, 10.0},
|
|
|
|
{"bps", &pts_from_bps, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"nobps", &pts_from_bps, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-06-23 21:58:32 +02:00
|
|
|
|
2001-06-05 03:17:12 +02:00
|
|
|
// {"alsa", &alsa, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
// {"noalsa", &alsa, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-06-23 21:58:32 +02:00
|
|
|
{"alsa", "Option -alsa has been removed, new audio code doesn't need it!\n",
|
|
|
|
CONF_TYPE_PRINT, 0, 0, 0},
|
|
|
|
{"noalsa", "Option -noalsa has been removed, new audio code doesn't need it!\n",
|
|
|
|
CONF_TYPE_PRINT, 0, 0, 0},
|
|
|
|
|
2001-04-16 01:22:01 +02:00
|
|
|
{"ni", &force_ni, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"noni", &force_ni, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-04-21 00:35:15 +02:00
|
|
|
|
2001-05-14 11:35:51 +02:00
|
|
|
{"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2},
|
2001-05-14 11:37:44 +02:00
|
|
|
{"noframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-06-13 23:55:24 +02:00
|
|
|
|
|
|
|
{"frames", &play_n_frames, CONF_TYPE_INT, CONF_MIN, 0, 0},
|
|
|
|
{"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1},
|
2001-05-14 11:35:51 +02:00
|
|
|
|
2001-07-16 15:24:14 +02:00
|
|
|
{"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 255},
|
|
|
|
{"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 255},
|
|
|
|
{"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31},
|
2001-05-08 23:49:00 +02:00
|
|
|
#ifdef USE_FAKE_MONO
|
|
|
|
{"stereo", &fakemono, CONF_TYPE_INT, CONF_RANGE, 0, 2},
|
|
|
|
#endif
|
2001-04-20 20:28:13 +02:00
|
|
|
|
|
|
|
{"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2},
|
2001-06-23 21:58:32 +02:00
|
|
|
{"dumpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 3},
|
2001-10-12 18:21:55 +02:00
|
|
|
{"dumpmpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 4},
|
|
|
|
|
2001-06-12 16:24:26 +02:00
|
|
|
{"aofile", &ao_outputfilename, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"waveheader", &ao_pcm_waveheader, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"nowaveheader", &ao_pcm_waveheader, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-04-20 20:28:13 +02:00
|
|
|
|
2001-04-16 01:22:01 +02:00
|
|
|
// {"auds", &avi_header.audio_codec, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
// {"vids", &avi_header.video_codec, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"mc", &default_max_pts_correction, CONF_TYPE_FLOAT, CONF_RANGE, 0, 10},
|
|
|
|
{"fps", &force_fps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0},
|
2001-07-16 15:24:14 +02:00
|
|
|
{"srate", &force_srate, CONF_TYPE_INT, CONF_RANGE, 1000, 8*48000},
|
2001-10-23 18:53:48 +02:00
|
|
|
{"afm", &audio_family, CONF_TYPE_INT, CONF_RANGE, 0, 13}, // keep ranges in sync
|
2001-10-23 01:39:14 +02:00
|
|
|
{"vfm", &video_family, CONF_TYPE_INT, CONF_RANGE, 0, 10}, // with codec-cfg.c
|
2001-07-07 11:53:47 +02:00
|
|
|
{"ac", &audio_codec, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"vc", &video_codec, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
{"dshow", &allow_dshow, CONF_TYPE_FLAG, 0, 0, 1}, // Is this still needed? atmos ::
|
2001-04-25 00:51:05 +02:00
|
|
|
{"nodshow", &allow_dshow, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-10-21 14:42:59 +02:00
|
|
|
#ifdef USE_STREAM_CACHE
|
|
|
|
{"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 4, 65536},
|
|
|
|
#else
|
|
|
|
{"cache", "MPlayer was compiled WITHOUT cache2 support", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
|
|
|
|
#endif
|
2001-04-16 01:22:01 +02:00
|
|
|
{"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99},
|
2001-08-20 23:20:03 +02:00
|
|
|
#ifdef USE_DVDREAD
|
|
|
|
{"dvd", &dvd_title, CONF_TYPE_INT, CONF_RANGE, 1, 99},
|
|
|
|
{"dvdangle", &dvd_angle, CONF_TYPE_INT, CONF_RANGE, 1, 99},
|
|
|
|
{"chapter", &dvd_chapter, CONF_TYPE_INT, CONF_RANGE, 1, 99},
|
|
|
|
#else
|
|
|
|
{"dvd", "MPlayer was compiled WITHOUT libdvdread support!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
|
|
|
|
#endif
|
2001-04-16 01:22:01 +02:00
|
|
|
{"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n",
|
2001-03-19 04:45:49 +01:00
|
|
|
CONF_TYPE_PRINT, 0, 0, 0},
|
2001-10-15 22:09:42 +02:00
|
|
|
{"pp", &divx_quality, CONF_TYPE_INT, CONF_MIN, 0, 63},
|
2001-10-13 17:45:01 +02:00
|
|
|
#ifdef HAVE_ODIVX_POSTPROCESS
|
|
|
|
{"oldpp", &use_old_pp, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
#else
|
|
|
|
{"oldpp", "MPlayer was compiled without opendivx library", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
|
|
|
|
#endif
|
2001-08-04 15:52:41 +02:00
|
|
|
{"autoq", &auto_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100},
|
2001-04-16 01:22:01 +02:00
|
|
|
{"br", &encode_bitrate, CONF_TYPE_INT, CONF_RANGE, 10000, 10000000},
|
2001-04-19 22:11:27 +02:00
|
|
|
#ifdef HAVE_PNG
|
2001-07-16 15:24:14 +02:00
|
|
|
{"z", &z_compression, CONF_TYPE_INT, CONF_RANGE, 0, 9},
|
2001-04-19 22:11:27 +02:00
|
|
|
#endif
|
2001-04-25 22:44:30 +02:00
|
|
|
#ifdef HAVE_SDL
|
2001-06-22 00:47:21 +02:00
|
|
|
{"sdl", "Use -vo sdl:driver instead of -vo sdl -sdl driver\n",
|
|
|
|
CONF_TYPE_PRINT, 0, 0, 0},
|
2001-04-25 22:44:30 +02:00
|
|
|
{"noxv", &sdl_noxv, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"forcexv", &sdl_forcexv, CONF_TYPE_FLAG, 0, 0, 1},
|
2001-06-22 00:47:21 +02:00
|
|
|
{"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver\n",
|
|
|
|
CONF_TYPE_PRINT, 0, 0, 0},
|
2001-04-25 22:44:30 +02:00
|
|
|
#endif
|
2001-07-16 15:24:14 +02:00
|
|
|
{"x", &screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096},
|
|
|
|
{"y", &screen_size_y, CONF_TYPE_INT, CONF_RANGE, 0, 4096},
|
|
|
|
{"xy", &screen_size_xy, CONF_TYPE_INT, CONF_RANGE, 0, 4096},
|
2001-10-21 00:29:29 +02:00
|
|
|
{"screenw", &vo_screenwidth, CONF_TYPE_INT, CONF_RANGE, 0, 4096},
|
|
|
|
{"screenh", &vo_screenheight, CONF_TYPE_INT, CONF_RANGE, 0, 4096},
|
2001-10-01 17:58:31 +02:00
|
|
|
{"aspect", &movie_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 3.0},
|
2001-10-02 01:34:05 +02:00
|
|
|
{"noaspect", &movie_aspect, CONF_TYPE_FLAG, 0, 0, 0},
|
2001-10-03 16:41:53 +02:00
|
|
|
{"monitoraspect", &monitor_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 3.0},
|
2001-03-24 22:34:08 +01:00
|
|
|
{"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1},
|
2001-04-11 02:35:57 +02:00
|
|
|
{"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-04-16 01:22:01 +02:00
|
|
|
{"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-05-11 16:52:06 +02:00
|
|
|
{"zoom", &softzoom, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"nozoom", &softzoom, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-05-12 03:56:31 +02:00
|
|
|
{"flip", &flip, CONF_TYPE_FLAG, 0, -1, 1},
|
|
|
|
{"noflip", &flip, CONF_TYPE_FLAG, 0, -1, 0},
|
2001-04-16 01:22:01 +02:00
|
|
|
|
2001-07-30 04:00:54 +02:00
|
|
|
#ifndef USE_LIBVO2
|
2001-04-13 15:47:36 +02:00
|
|
|
{"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32},
|
2001-07-29 18:31:37 +02:00
|
|
|
{"fsmode", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 15},
|
2001-06-17 22:38:02 +02:00
|
|
|
{"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-07-30 04:00:54 +02:00
|
|
|
#endif
|
|
|
|
|
2001-06-17 22:38:02 +02:00
|
|
|
#ifdef HAVE_LIRC
|
|
|
|
{"lircconf", &lirc_configfile, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
#endif
|
2001-08-14 21:00:00 +02:00
|
|
|
|
|
|
|
#ifdef HAVE_AA
|
2001-08-15 21:26:22 +02:00
|
|
|
{"aa*", vo_aa_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0 },
|
2001-08-14 21:00:00 +02:00
|
|
|
#endif
|
|
|
|
|
2001-08-27 02:55:25 +02:00
|
|
|
{"gui", &use_gui, CONF_TYPE_FLAG, 0, 0, 1},
|
|
|
|
{"nogui", &use_gui, CONF_TYPE_FLAG, 0, 1, 0},
|
2001-08-14 21:00:00 +02:00
|
|
|
|
2001-04-21 22:45:17 +02:00
|
|
|
{"noidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 0},
|
2001-04-22 03:35:18 +02:00
|
|
|
{"idx", &index_mode, CONF_TYPE_FLAG, 0, -1, 1},
|
|
|
|
{"forceidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 2},
|
2001-09-07 23:04:14 +02:00
|
|
|
|
|
|
|
#ifdef HAVE_NEW_GUI
|
|
|
|
{"skin", &skinName, CONF_TYPE_STRING, 0, 0, 0},
|
|
|
|
#endif
|
2001-04-21 22:45:17 +02:00
|
|
|
|
2001-08-06 02:30:29 +02:00
|
|
|
{"quiet", &quiet, CONF_TYPE_FLAG, 0, 0, 1},
|
2001-04-16 01:22:01 +02:00
|
|
|
{"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE, 0, 100},
|
|
|
|
{"v", cfg_inc_verbose, CONF_TYPE_FUNC, 0, 0, 0},
|
2001-05-09 16:17:55 +02:00
|
|
|
{"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
|
|
|
|
{"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
|
|
|
|
{"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
|
2001-04-16 01:22:01 +02:00
|
|
|
{NULL, NULL, 0, 0, 0, 0}
|
2001-03-19 00:32:31 +01:00
|
|
|
};
|