Mercurial > mplayer.hg
annotate cfg-mplayer.h @ 452:416612e8cf5d
add mixer support
author | pontscho |
---|---|
date | Sun, 15 Apr 2001 22:34:09 +0000 |
parents | 198b46b739d8 |
children | cc7e37b09748 |
rev | line source |
---|---|
147 | 1 /* |
2 * config for cfgparser | |
3 */ | |
4 | |
378 | 5 #ifdef HAVE_FBDEV |
6 extern char *fb_dev_name; | |
7 extern char *fb_mode_cfgfile; | |
8 extern char *fb_mode_name; | |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
9 extern char *monitor_hfreq_str; |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
10 extern char *monitor_vfreq_str; |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
11 extern char *monitor_dotclock_str; |
378 | 12 #endif |
13 | |
147 | 14 struct config conf[]={ |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
15 /* name, pointer, type, flags, min, max */ |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
16 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */ |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
17 {"o", "Option -o has been renamed to -vo (video-out), use -vo !\n", |
153 | 18 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
19 {"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
20 {"dsp", &dsp, CONF_TYPE_STRING, 0, 0, 0}, |
225 | 21 #ifdef HAVE_FBDEV |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
22 {"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
23 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
24 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
25 {"monitor_hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
26 {"monitor_vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
27 {"monitor_dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0}, |
225 | 28 #endif |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
29 {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
30 {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
31 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
32 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
33 {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
34 {"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
35 {"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
36 {"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
37 {"sb", &seek_to_byte, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
38 // {"ss", &seek_to_sec, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
39 {"sound", &has_audio, CONF_TYPE_FLAG, 0, 0, 1}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
40 {"nosound", &has_audio, CONF_TYPE_FLAG, 0, 1, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
41 {"abs", &audio_buffer_size, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
42 {"delay", &audio_delay, CONF_TYPE_FLOAT, CONF_RANGE, -10.0, 10.0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
43 {"bps", &pts_from_bps, CONF_TYPE_FLAG, 0, 0, 1}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
44 {"nobps", &pts_from_bps, CONF_TYPE_FLAG, 0, 1, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
45 {"alsa", &alsa, CONF_TYPE_FLAG, 0, 0, 1}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
46 {"noalsa", &alsa, CONF_TYPE_FLAG, 0, 1, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
47 {"ni", &force_ni, CONF_TYPE_FLAG, 0, 0, 1}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
48 {"noni", &force_ni, CONF_TYPE_FLAG, 0, 1, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
49 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 256}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
50 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 256}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
51 // {"auds", &avi_header.audio_codec, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
52 // {"vids", &avi_header.video_codec, CONF_TYPE_STRING, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
53 {"mc", &default_max_pts_correction, CONF_TYPE_FLOAT, CONF_RANGE, 0, 10}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
54 {"fps", &force_fps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
55 {"afm", &audio_format, CONF_TYPE_INT, CONF_RANGE, 1, 6}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
56 {"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
57 {"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n", |
153 | 58 CONF_TYPE_PRINT, 0, 0, 0}, |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
59 {"pp", &divx_quality, CONF_TYPE_INT, CONF_RANGE, 0, 63}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
60 {"br", &encode_bitrate, CONF_TYPE_INT, CONF_RANGE, 10000, 10000000}, |
337 | 61 |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
62 {"x", &screen_size_x, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
63 {"y", &screen_size_y, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
64 {"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
|
65 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1}, |
337 | 66 {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0}, |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
67 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
68 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0}, |
337 | 69 {"zoom", &softzoom, CONF_TYPE_FLAG, 0, 0, 1}, |
70 {"nozoom", &softzoom, CONF_TYPE_FLAG, 0, 1, 0}, | |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
71 |
388 | 72 {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32}, |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
73 |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
74 {"idx", &no_index, CONF_TYPE_FLAG, 0, 1, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
75 {"noidx", &no_index, CONF_TYPE_FLAG, 0, 0, 1}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
76 {"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE, 0, 100}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
77 {"v", cfg_inc_verbose, CONF_TYPE_FUNC, 0, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
78 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
79 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
80 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, |
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
81 {NULL, NULL, 0, 0, 0, 0} |
147 | 82 }; |
378 | 83 |