2001-03-18 23:32:31 +00:00
|
|
|
/*
|
|
|
|
* config for cfgparser
|
|
|
|
*/
|
|
|
|
|
2001-11-09 23:46:06 +00:00
|
|
|
#include "cfg-common.h"
|
|
|
|
|
2001-11-03 02:55:03 +00:00
|
|
|
extern char *playlist_file;
|
2001-08-15 19:26:22 +00:00
|
|
|
|
2001-04-12 20:37:25 +00:00
|
|
|
#ifdef HAVE_FBDEV
|
|
|
|
extern char *fb_dev_name;
|
|
|
|
extern char *fb_mode_cfgfile;
|
|
|
|
extern char *fb_mode_name;
|
2001-04-15 20:31:58 +00:00
|
|
|
extern char *monitor_hfreq_str;
|
|
|
|
extern char *monitor_vfreq_str;
|
|
|
|
extern char *monitor_dotclock_str;
|
2001-12-03 01:09:36 +00:00
|
|
|
#else
|
|
|
|
#ifdef HAVE_DIRECTFB
|
|
|
|
extern char *fb_dev_name;
|
|
|
|
#endif
|
2001-04-12 20:37:25 +00:00
|
|
|
#endif
|
2001-04-19 20:11:27 +00:00
|
|
|
#ifdef HAVE_PNG
|
|
|
|
extern int z_compression;
|
|
|
|
#endif
|
2001-04-25 20:44:30 +00:00
|
|
|
#ifdef HAVE_SDL
|
2001-06-21 22:47:21 +00:00
|
|
|
//extern char *sdl_driver;
|
2001-04-25 20:44:30 +00:00
|
|
|
extern int sdl_noxv;
|
|
|
|
extern int sdl_forcexv;
|
2001-06-21 22:47:21 +00:00
|
|
|
//extern char *sdl_adriver;
|
2001-04-25 20:44:30 +00:00
|
|
|
#endif
|
2001-05-08 21:49:00 +00:00
|
|
|
#ifdef USE_FAKE_MONO
|
|
|
|
extern int fakemono; // defined in dec_audio.c
|
|
|
|
#endif
|
2001-04-25 20:44:30 +00:00
|
|
|
|
2001-06-17 20:38:02 +00:00
|
|
|
#ifdef HAVE_LIRC
|
|
|
|
extern char *lirc_configfile;
|
|
|
|
#endif
|
|
|
|
|
2001-07-30 02:00:54 +00:00
|
|
|
#ifndef USE_LIBVO2
|
2001-06-17 20:38:02 +00:00
|
|
|
extern int vo_doublebuffering;
|
2002-02-12 15:06:04 +00:00
|
|
|
extern int vo_vsync;
|
2001-07-03 23:44:19 +00:00
|
|
|
extern int vo_fsmode;
|
2001-04-23 03:38:17 +00:00
|
|
|
extern int vo_dbpp;
|
2002-01-18 09:11:11 +00:00
|
|
|
/* gamma correction */
|
|
|
|
extern int vo_gamma_brightness;
|
|
|
|
extern int vo_gamma_saturation;
|
|
|
|
extern int vo_gamma_contrast;
|
|
|
|
extern int vo_gamma_hue;
|
2002-01-23 16:54:29 +00:00
|
|
|
extern int vo_gamma_red_intensity;
|
|
|
|
extern int vo_gamma_green_intensity;
|
|
|
|
extern int vo_gamma_blue_intensity;
|
2002-02-03 09:28:58 +00:00
|
|
|
extern int vaa_use_dr;
|
2001-07-30 02:00:54 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USE_SUB
|
2001-05-08 19:39:21 +00:00
|
|
|
extern int sub_unicode;
|
2001-08-13 11:08:18 +00:00
|
|
|
extern int sub_utf8;
|
2001-10-10 13:07:42 +00:00
|
|
|
#ifdef USE_ICONV
|
|
|
|
extern char *sub_cp;
|
|
|
|
#endif
|
2001-07-30 02:00:54 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USE_OSD
|
|
|
|
extern int osd_level;
|
|
|
|
#endif
|
2001-04-12 20:37:25 +00:00
|
|
|
|
2001-06-12 14:24:26 +00:00
|
|
|
extern char *ao_outputfilename;
|
|
|
|
extern int ao_pcm_waveheader;
|
|
|
|
|
2001-05-31 22:32:58 +00:00
|
|
|
#ifdef HAVE_X11
|
|
|
|
extern char *mDisplayName;
|
2001-12-22 09:20:09 +00:00
|
|
|
extern int WinID;
|
2001-05-31 22:32:58 +00:00
|
|
|
#endif
|
|
|
|
|
2001-08-14 19:00:00 +00:00
|
|
|
#ifdef HAVE_AA
|
2001-08-15 19:26:22 +00:00
|
|
|
extern int vo_aa_parseoption(struct config * conf, char *opt, char * param);
|
2002-01-19 16:59:59 +00:00
|
|
|
extern void vo_aa_revertoption(config_t* opt,char* param);
|
2001-08-14 19:00:00 +00:00
|
|
|
#endif
|
|
|
|
|
2002-01-17 01:28:20 +00:00
|
|
|
#ifdef HAVE_ZR
|
|
|
|
extern int vo_zr_parseoption(struct config * conf, char *opt, char * param);
|
2002-01-19 16:59:59 +00:00
|
|
|
extern void vo_zr_revertoption(config_t* opt,char* pram);
|
2002-01-17 01:28:20 +00:00
|
|
|
#endif
|
|
|
|
|
2001-09-07 21:04:14 +00:00
|
|
|
#ifdef HAVE_NEW_GUI
|
|
|
|
extern char * skinName;
|
|
|
|
#endif
|
|
|
|
|
2001-10-13 15:45:01 +00:00
|
|
|
#ifdef HAVE_ODIVX_POSTPROCESS
|
|
|
|
extern int use_old_pp;
|
|
|
|
#endif
|
|
|
|
|
2002-01-06 21:07:20 +00:00
|
|
|
#ifdef HAVE_XINERAMA
|
|
|
|
extern int xinerama_screen;
|
|
|
|
#endif
|
|
|
|
|
2001-10-03 14:41:53 +00:00
|
|
|
/* from libvo/aspect.c */
|
|
|
|
extern float monitor_aspect;
|
|
|
|
|
2001-11-28 12:46:23 +00:00
|
|
|
/* from dec_audio, currently used for ac3surround decoder only */
|
|
|
|
extern int audio_output_channels;
|
|
|
|
|
2001-12-03 14:05:02 +00:00
|
|
|
/* Options related to audio out plugins */
|
|
|
|
struct config ao_plugin_conf[]={
|
2002-01-14 23:54:31 +00:00
|
|
|
{"list", &ao_plugin_cfg.plugin_list, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"delay", &ao_plugin_cfg.pl_delay_len, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
|
|
|
|
{"format", &ao_plugin_cfg.pl_format_type, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
|
|
|
|
{"fout", &ao_plugin_cfg.pl_resample_fout, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
|
|
|
|
{NULL, NULL, 0, 0, 0, 0, NULL}
|
2001-12-03 14:05:02 +00:00
|
|
|
};
|
|
|
|
|
2001-12-02 20:03:26 +00:00
|
|
|
extern int sws_flags;
|
2001-12-26 19:45:49 +00:00
|
|
|
extern int readPPOpt(void *conf, char *arg);
|
2002-01-19 16:59:59 +00:00
|
|
|
extern int readNPPOpt(void *conf, char *arg);
|
|
|
|
extern void revertPPOpt(void *conf, char* opt);
|
2001-12-26 19:45:49 +00:00
|
|
|
|
2001-12-02 20:03:26 +00:00
|
|
|
|
2001-08-15 19:26:22 +00: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
|
|
|
|
*/
|
|
|
|
|
2002-01-14 23:55:51 +00:00
|
|
|
static config_t mplayer_opts[]={
|
2001-04-15 23:22:01 +00:00
|
|
|
/* name, pointer, type, flags, min, max */
|
2002-01-14 23:55:51 +00:00
|
|
|
{"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL}, /* this don't need anymore to be the first!!! */
|
2001-11-02 00:32:35 +00:00
|
|
|
|
|
|
|
//---------------------- libao/libvo/mplayer options ------------------------
|
2001-04-15 23:22:01 +00:00
|
|
|
{"o", "Option -o has been renamed to -vo (video-out), use -vo !\n",
|
2002-01-14 23:54:31 +00:00
|
|
|
CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
|
|
|
{"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"ao", &audio_driver, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"aop", ao_plugin_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|
|
|
// {"dsp", &dsp, CONF_TYPE_STRING, CONF_NOCFG, 0, 0, NULL},
|
|
|
|
{"dsp", "Use -ao oss:dsp_path!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
|
|
|
{"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"master", &mixer_usemaster, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"channels", &audio_output_channels, CONF_TYPE_INT, CONF_RANGE, 2, 6, NULL},
|
2001-05-31 22:32:58 +00:00
|
|
|
#ifdef HAVE_X11
|
2002-01-14 23:54:31 +00:00
|
|
|
{"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
2001-05-31 22:32:58 +00:00
|
|
|
#endif
|
2002-01-14 23:54:31 +00:00
|
|
|
{"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 2 , NULL},
|
2001-11-02 00:32:35 +00:00
|
|
|
|
2001-03-28 12:08:44 +00:00
|
|
|
#ifdef HAVE_FBDEV
|
2002-01-14 23:54:31 +00:00
|
|
|
{"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"monitor_hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"monitor_vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"monitor_dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
2001-12-03 01:09:36 +00:00
|
|
|
#else
|
|
|
|
#ifdef HAVE_DIRECTFB
|
2002-01-14 23:54:31 +00:00
|
|
|
{"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
2001-12-03 01:09:36 +00:00
|
|
|
#endif
|
2001-03-28 12:08:44 +00:00
|
|
|
#endif
|
2002-01-14 23:54:31 +00:00
|
|
|
// {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
|
2001-07-30 02:00:54 +00:00
|
|
|
#ifdef USE_SUB
|
2002-01-14 23:54:31 +00:00
|
|
|
{"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
2001-10-10 13:07:42 +00:00
|
|
|
#ifdef USE_ICONV
|
2002-01-14 23:54:31 +00:00
|
|
|
{"subcp", &sub_cp, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
2001-10-10 13:07:42 +00:00
|
|
|
#endif
|
2002-01-14 23:54:31 +00:00
|
|
|
{"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0, NULL},
|
|
|
|
{"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0, NULL},
|
|
|
|
{"noautosub", &sub_auto, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
|
|
|
{"unicode", &sub_unicode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"nounicode", &sub_unicode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
|
|
|
{"utf8", &sub_utf8, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"noutf8", &sub_utf8, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
2001-07-30 02:00:54 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_OSD
|
2002-01-14 23:54:31 +00:00
|
|
|
{"font", &font_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0, NULL},
|
2001-07-30 02:00:54 +00:00
|
|
|
#endif
|
2002-01-14 23:54:31 +00:00
|
|
|
// {"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
// {"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
|
|
|
{"sb", &seek_to_byte, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
|
|
|
|
{"ss", &seek_to_sec, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL},
|
|
|
|
{"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
|
|
|
|
{"noloop", &loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL},
|
|
|
|
{"loop", &loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL},
|
|
|
|
{"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
|
|
|
|
{"delay", &audio_delay, CONF_TYPE_FLOAT, CONF_RANGE, -10.0, 10.0, NULL},
|
2001-06-23 19:58:32 +00:00
|
|
|
|
2001-11-02 00:32:35 +00:00
|
|
|
{"alsa", "Option -alsa has been removed, new audio code doesn't need it! Remove it from your config file!\n",
|
2002-01-14 23:54:31 +00:00
|
|
|
CONF_TYPE_PRINT, 0, 0, 0, NULL},
|
2001-11-02 00:32:35 +00:00
|
|
|
{"noalsa", "Option -noalsa has been removed, new audio code doesn't need it! Remove it from your config file!\n",
|
2002-01-14 23:54:31 +00:00
|
|
|
CONF_TYPE_PRINT, 0, 0, 0, NULL},
|
2001-06-23 19:58:32 +00:00
|
|
|
|
2002-01-14 23:54:31 +00:00
|
|
|
{"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL},
|
|
|
|
{"noframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
2001-06-13 21:55:24 +00:00
|
|
|
|
2002-01-14 23:54:31 +00:00
|
|
|
{"autoq", &auto_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
|
2001-11-02 00:32:35 +00:00
|
|
|
|
2002-01-14 23:54:31 +00:00
|
|
|
{"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
2001-05-14 09:35:51 +00:00
|
|
|
|
2002-01-14 23:54:31 +00:00
|
|
|
{"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2, NULL},
|
|
|
|
{"dumpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 3, NULL},
|
|
|
|
{"dumpmpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 4, NULL},
|
|
|
|
{"dumpstream", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 5, NULL},
|
2001-10-12 16:21:55 +00:00
|
|
|
|
2002-01-14 23:54:31 +00:00
|
|
|
{"aofile", &ao_outputfilename, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"waveheader", &ao_pcm_waveheader, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"nowaveheader", &ao_pcm_waveheader, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
2001-04-20 18:28:13 +00:00
|
|
|
|
2002-01-14 23:54:31 +00:00
|
|
|
{"dshow", &allow_dshow, CONF_TYPE_FLAG, 0, 0, 1, NULL}, // Is this still needed? atmos ::
|
|
|
|
{"nodshow", &allow_dshow, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
2001-11-02 00:32:35 +00:00
|
|
|
|
2001-04-19 20:11:27 +00:00
|
|
|
#ifdef HAVE_PNG
|
2002-01-14 23:54:31 +00:00
|
|
|
{"z", &z_compression, CONF_TYPE_INT, CONF_RANGE, 0, 9, NULL},
|
2001-12-02 20:03:26 +00:00
|
|
|
#endif
|
2001-04-25 20:44:30 +00:00
|
|
|
#ifdef HAVE_SDL
|
2001-06-21 22:47:21 +00:00
|
|
|
{"sdl", "Use -vo sdl:driver instead of -vo sdl -sdl driver\n",
|
2002-01-14 23:54:31 +00:00
|
|
|
CONF_TYPE_PRINT, 0, 0, 0, NULL},
|
|
|
|
{"noxv", &sdl_noxv, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"forcexv", &sdl_forcexv, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
2001-06-21 22:47:21 +00:00
|
|
|
{"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver\n",
|
2002-01-14 23:54:31 +00:00
|
|
|
CONF_TYPE_PRINT, 0, 0, 0, NULL},
|
2001-04-25 20:44:30 +00:00
|
|
|
#endif
|
2002-01-14 23:55:51 +00:00
|
|
|
{"x", &opt_screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
|
|
|
|
{"y", &opt_screen_size_y, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
|
2002-01-14 23:54:31 +00:00
|
|
|
{"xy", &screen_size_xy, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
|
|
|
|
{"screenw", &vo_screenwidth, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
|
|
|
|
{"screenh", &vo_screenheight, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
|
|
|
|
{"aspect", &movie_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 3.0, NULL},
|
|
|
|
{"noaspect", &movie_aspect, CONF_TYPE_FLAG, 0, 0, 0, NULL},
|
|
|
|
{"monitoraspect", &monitor_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 3.0, NULL},
|
|
|
|
{"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
|
|
|
{"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
|
|
|
{"zoom", &softzoom, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"nozoom", &softzoom, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
|
|
|
{"flip", &flip, CONF_TYPE_FLAG, 0, -1, 1, NULL},
|
|
|
|
{"noflip", &flip, CONF_TYPE_FLAG, 0, -1, 0, NULL},
|
2001-04-15 23:22:01 +00:00
|
|
|
|
2001-07-30 02:00:54 +00:00
|
|
|
#ifndef USE_LIBVO2
|
2002-01-14 23:54:31 +00:00
|
|
|
{"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL},
|
|
|
|
{"fsmode", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 15, NULL},
|
|
|
|
{"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
2002-02-12 15:06:04 +00:00
|
|
|
{"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
2002-01-18 09:11:11 +00:00
|
|
|
{"brightness",&vo_gamma_brightness, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},
|
|
|
|
{"saturation",&vo_gamma_saturation, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},
|
2002-01-19 08:18:09 +00:00
|
|
|
{"contrast",&vo_gamma_contrast, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},
|
2002-01-18 09:11:11 +00:00
|
|
|
{"hue",&vo_gamma_hue, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},
|
2002-01-23 16:54:29 +00:00
|
|
|
{"red_intensity",&vo_gamma_red_intensity, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},
|
|
|
|
{"green_intensity",&vo_gamma_green_intensity, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},
|
|
|
|
{"blue_intensity",&vo_gamma_blue_intensity, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},
|
2002-02-03 09:28:58 +00:00
|
|
|
{"vaa_dr", &vaa_use_dr, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"vaa_nodr", &vaa_use_dr, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
2001-07-30 02:00:54 +00:00
|
|
|
#endif
|
|
|
|
|
2001-08-14 19:00:00 +00:00
|
|
|
#ifdef HAVE_AA
|
2002-01-19 16:59:59 +00:00
|
|
|
{"aa*", vo_aa_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0 , &vo_aa_revertoption},
|
2001-08-14 19:00:00 +00:00
|
|
|
#endif
|
|
|
|
|
2002-01-17 01:28:20 +00:00
|
|
|
#ifdef HAVE_ZR
|
2002-01-19 16:59:59 +00:00
|
|
|
{"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption },
|
2002-01-17 01:28:20 +00:00
|
|
|
#endif
|
|
|
|
|
2001-11-02 00:32:35 +00:00
|
|
|
#ifdef HAVE_LIRC
|
2002-01-14 23:55:51 +00:00
|
|
|
{"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
|
2001-11-02 00:32:35 +00:00
|
|
|
#endif
|
|
|
|
|
2001-12-26 00:16:59 +00:00
|
|
|
#ifdef USE_DVDREAD
|
2002-01-14 23:54:31 +00:00
|
|
|
{"alang", &audio_lang, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
|
|
|
{"slang", &dvdsub_lang, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
2001-12-26 00:16:59 +00:00
|
|
|
#endif
|
|
|
|
|
2002-01-14 23:55:51 +00:00
|
|
|
{"gui", &use_gui, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
|
|
|
|
{"nogui", &use_gui, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
|
2001-08-14 19:00:00 +00:00
|
|
|
|
2001-09-07 21:04:14 +00:00
|
|
|
#ifdef HAVE_NEW_GUI
|
2002-01-14 23:55:51 +00:00
|
|
|
{"skin", &skinName, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
|
2001-09-07 21:04:14 +00:00
|
|
|
#endif
|
2001-11-02 00:32:35 +00:00
|
|
|
|
2002-01-14 23:55:51 +00:00
|
|
|
{"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
2002-01-14 23:54:31 +00:00
|
|
|
{"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
|
|
{"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
|
|
|
{"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
2001-11-14 00:26:28 +00:00
|
|
|
|
2002-01-14 23:55:51 +00:00
|
|
|
{"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
|
2001-12-28 13:28:06 +00:00
|
|
|
|
2001-12-23 01:34:10 +00:00
|
|
|
#ifdef HAVE_X11
|
2002-01-14 23:54:31 +00:00
|
|
|
{"wid", &WinID, CONF_TYPE_INT, 0, 0, 0, NULL},
|
|
|
|
{"rootwin", &WinID, CONF_TYPE_FLAG, 0, -1, 0, NULL},
|
2001-12-23 01:34:10 +00:00
|
|
|
#endif
|
2001-12-04 21:04:28 +00:00
|
|
|
|
2002-01-06 21:07:20 +00:00
|
|
|
#ifdef HAVE_XINERAMA
|
2002-01-14 23:54:31 +00:00
|
|
|
{"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL},
|
2002-01-06 21:07:20 +00:00
|
|
|
#endif
|
|
|
|
|
2001-11-09 23:46:06 +00:00
|
|
|
#define MAIN_CONF
|
2001-11-02 00:32:35 +00:00
|
|
|
#include "cfg-common.h"
|
2001-11-09 23:46:06 +00:00
|
|
|
#undef MAIN_CONF
|
2001-04-21 20:45:17 +00:00
|
|
|
|
2002-01-14 23:55:51 +00:00
|
|
|
{"quiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
|
2002-02-01 01:54:38 +00:00
|
|
|
{"noquiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
|
2002-01-14 23:55:51 +00:00
|
|
|
{"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE|CONF_GLOBAL, 0, 100, NULL},
|
|
|
|
{"v", cfg_inc_verbose, CONF_TYPE_FUNC, CONF_GLOBAL|CONF_NOSAVE, 0, 0, NULL},
|
|
|
|
{"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
|
|
|
|
{"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
|
|
|
|
{"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
|
2002-01-14 23:54:31 +00:00
|
|
|
{NULL, NULL, 0, 0, 0, 0, NULL}
|
2001-03-18 23:32:31 +00:00
|
|
|
};
|