Mercurial > mplayer.hg
annotate cfg-mplayer.h @ 287:abc78352e35e
svgalib detection
author | arpi_esp |
---|---|
date | Thu, 05 Apr 2001 19:02:02 +0000 |
parents | 66017e126280 |
children | 828ec81e0d64 |
rev | line source |
---|---|
147 | 1 /* |
2 * config for cfgparser | |
3 */ | |
4 | |
5 struct config conf[]={ | |
6 /* name, pointer, type, flags, min, max */ | |
162 | 7 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */ |
153 | 8 {"o", "Option -o has been renamed to -vo (video-out), use -vo !\n", |
9 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, | |
147 | 10 {"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0}, |
11 {"dsp", &dsp, CONF_TYPE_STRING, 0, 0, 0}, | |
225 | 12 #ifdef HAVE_FBDEV |
13 {"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0}, | |
14 #endif | |
147 | 15 {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0}, |
258 | 16 {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0}, |
17 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, | |
18 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, | |
212 | 19 {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0}, |
215 | 20 {"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0}, |
147 | 21 {"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1}, |
22 {"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0}, | |
153 | 23 {"sb", &seek_to_byte, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
24 {"ss", &seek_to_sec, CONF_TYPE_INT, CONF_MIN, 0, 0}, | |
147 | 25 {"sound", &has_audio, CONF_TYPE_FLAG, 0, 0, 1}, |
26 {"nosound", &has_audio, CONF_TYPE_FLAG, 0, 1, 0}, | |
153 | 27 {"abs", &audio_buffer_size, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
28 {"delay", &audio_delay, CONF_TYPE_FLOAT, CONF_RANGE, -10.0, 10.0}, | |
147 | 29 {"bps", &pts_from_bps, CONF_TYPE_FLAG, 0, 0, 1}, |
30 {"nobps", &pts_from_bps, CONF_TYPE_FLAG, 0, 1, 0}, | |
31 {"alsa", &alsa, CONF_TYPE_FLAG, 0, 0, 1}, | |
32 {"noalsa", &alsa, CONF_TYPE_FLAG, 0, 1, 0}, | |
33 {"ni", &force_ni, CONF_TYPE_FLAG, 0, 0, 1}, | |
34 {"noni", &force_ni, CONF_TYPE_FLAG, 0, 1, 0}, | |
153 | 35 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 256}, |
36 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 256}, | |
147 | 37 {"auds", &avi_header.audio_codec, CONF_TYPE_STRING, 0, 0, 0}, |
38 {"vids", &avi_header.video_codec, CONF_TYPE_STRING, 0, 0, 0}, | |
153 | 39 {"mc", &default_max_pts_correction, CONF_TYPE_FLOAT, CONF_RANGE, 0, 10}, |
40 {"fps", &force_fps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0}, | |
41 {"afm", &audio_format, CONF_TYPE_INT, CONF_RANGE, 1, 6}, | |
42 {"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99}, | |
43 {"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n", | |
44 CONF_TYPE_PRINT, 0, 0, 0}, | |
45 {"pp", &divx_quality, CONF_TYPE_INT, CONF_RANGE, 0, 63}, | |
46 {"br", &encode_bitrate, CONF_TYPE_INT, CONF_RANGE, 10000, 10000000}, | |
47 {"x", &screen_size_x, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, | |
48 {"y", &screen_size_y, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, | |
49 {"xy", &screen_size_xy, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, | |
207
8626c23f4a47
Addes a -vm option, which when used together with -fs and -vo x11 will
mgraffam
parents:
162
diff
changeset
|
50 #ifdef HAVE_XF86VM |
8626c23f4a47
Addes a -vm option, which when used together with -fs and -vo x11 will
mgraffam
parents:
162
diff
changeset
|
51 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1}, |
8626c23f4a47
Addes a -vm option, which when used together with -fs and -vo x11 will
mgraffam
parents:
162
diff
changeset
|
52 #endif |
147 | 53 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1}, |
54 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0}, | |
55 {"idx", &no_index, CONF_TYPE_FLAG, 0, 1, 0}, | |
56 {"noidx", &no_index, CONF_TYPE_FLAG, 0, 0, 1}, | |
153 | 57 {"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE, 0, 100}, |
58 {"v", cfg_inc_verbose, CONF_TYPE_FUNC, 0, 0, 0}, | |
59 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, | |
60 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, | |
61 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, | |
147 | 62 {NULL, NULL, 0, 0, 0, 0} |
63 }; |