Mercurial > mplayer.hg
annotate cfg-mplayer.h @ 748:717e4677d9ce
stime compile bug fixed. and GUI_MSG macro defined.
author | pontscho |
---|---|
date | Thu, 10 May 2001 09:13:36 +0000 |
parents | e8d5e6d4d85f |
children | feaaa19a8069 |
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 |
526 | 13 #ifdef HAVE_PNG |
14 extern int z_compression; | |
15 #endif | |
636 | 16 #ifdef HAVE_SDL |
17 extern char *sdl_driver; | |
18 extern int sdl_noxv; | |
19 extern int sdl_forcexv; | |
20 #endif | |
732
e14114170e01
applied 'fakemono' patch by Bryan Chan scorpio@acm.org
arpi_esp
parents:
725
diff
changeset
|
21 #ifdef USE_FAKE_MONO |
e14114170e01
applied 'fakemono' patch by Bryan Chan scorpio@acm.org
arpi_esp
parents:
725
diff
changeset
|
22 extern int fakemono; // defined in dec_audio.c |
e14114170e01
applied 'fakemono' patch by Bryan Chan scorpio@acm.org
arpi_esp
parents:
725
diff
changeset
|
23 #endif |
636 | 24 |
585 | 25 extern int vo_dbpp; |
641
d161307f447a
The -osdlevel switch for setting default OSD level (useful in your .config for example if you don't like watching OSD timer by default)
lgb
parents:
636
diff
changeset
|
26 extern int osd_level; |
725 | 27 extern int sub_unicode; |
378 | 28 |
147 | 29 struct config conf[]={ |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
30 /* name, pointer, type, flags, min, max */ |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
31 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */ |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
32 {"o", "Option -o has been renamed to -vo (video-out), use -vo !\n", |
153 | 33 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
34 {"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
35 {"dsp", &dsp, CONF_TYPE_STRING, 0, 0, 0}, |
460 | 36 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0}, |
37 {"master", &mixer_usemaster, CONF_TYPE_FLAG, 0, 0, 1}, | |
641
d161307f447a
The -osdlevel switch for setting default OSD level (useful in your .config for example if you don't like watching OSD timer by default)
lgb
parents:
636
diff
changeset
|
38 {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 2 }, |
492 | 39 #ifdef HAVE_LIBCSS |
40 {"dvd", &dvd_device, CONF_TYPE_STRING, 0, 0, 0}, | |
546 | 41 {"dvdkey", &dvdimportkey, CONF_TYPE_STRING, 0, 0, 0}, |
492 | 42 #else |
43 {"dvd", "DVD support was not compiled in. See file DOCS/DVD.\n", | |
44 CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0}, | |
45 #endif | |
46 | |
225 | 47 #ifdef HAVE_FBDEV |
448
198b46b739d8
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
arpi_esp
parents:
445
diff
changeset
|
48 {"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
|
49 {"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
|
50 {"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
|
51 {"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
|
52 {"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
|
53 {"monitor_dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0}, |
225 | 54 #endif |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
55 {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
56 {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
57 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
58 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, |
515 | 59 {"noautosub", &sub_auto, CONF_TYPE_FLAG, 0, 1, 0}, |
725 | 60 {"unicode", &sub_unicode, CONF_TYPE_FLAG, 0, 0, 1}, |
61 {"nounicode", &sub_unicode, CONF_TYPE_FLAG, 0, 1, 0}, | |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
62 {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
63 {"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
64 {"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
65 {"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
66 {"sb", &seek_to_byte, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
651 | 67 {"ss", &seek_to_sec, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
68 {"sound", &has_audio, CONF_TYPE_FLAG, 0, 0, 1}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
69 {"nosound", &has_audio, CONF_TYPE_FLAG, 0, 1, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
70 {"abs", &audio_buffer_size, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
71 {"delay", &audio_delay, CONF_TYPE_FLOAT, CONF_RANGE, -10.0, 10.0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
72 {"bps", &pts_from_bps, CONF_TYPE_FLAG, 0, 0, 1}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
73 {"nobps", &pts_from_bps, CONF_TYPE_FLAG, 0, 1, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
74 {"alsa", &alsa, CONF_TYPE_FLAG, 0, 0, 1}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
75 {"noalsa", &alsa, CONF_TYPE_FLAG, 0, 1, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
76 {"ni", &force_ni, CONF_TYPE_FLAG, 0, 0, 1}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
77 {"noni", &force_ni, CONF_TYPE_FLAG, 0, 1, 0}, |
552 | 78 |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
79 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 256}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
80 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 256}, |
552 | 81 {"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 32}, |
732
e14114170e01
applied 'fakemono' patch by Bryan Chan scorpio@acm.org
arpi_esp
parents:
725
diff
changeset
|
82 #ifdef USE_FAKE_MONO |
e14114170e01
applied 'fakemono' patch by Bryan Chan scorpio@acm.org
arpi_esp
parents:
725
diff
changeset
|
83 {"stereo", &fakemono, CONF_TYPE_INT, CONF_RANGE, 0, 2}, |
e14114170e01
applied 'fakemono' patch by Bryan Chan scorpio@acm.org
arpi_esp
parents:
725
diff
changeset
|
84 #endif |
549 | 85 |
86 {"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0}, | |
87 {"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1}, | |
88 {"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2}, | |
89 | |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
90 // {"auds", &avi_header.audio_codec, CONF_TYPE_STRING, 0, 0, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
91 // {"vids", &avi_header.video_codec, CONF_TYPE_STRING, 0, 0, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
92 {"mc", &default_max_pts_correction, CONF_TYPE_FLOAT, CONF_RANGE, 0, 10}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
93 {"fps", &force_fps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
94 {"afm", &audio_format, CONF_TYPE_INT, CONF_RANGE, 1, 6}, |
626 | 95 {"dshow", &allow_dshow, CONF_TYPE_FLAG, 0, 0, 1}, |
96 {"nodshow", &allow_dshow, CONF_TYPE_FLAG, 0, 1, 0}, | |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
97 {"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
98 {"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n", |
153 | 99 CONF_TYPE_PRINT, 0, 0, 0}, |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
100 {"pp", &divx_quality, CONF_TYPE_INT, CONF_RANGE, 0, 63}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
101 {"br", &encode_bitrate, CONF_TYPE_INT, CONF_RANGE, 10000, 10000000}, |
526 | 102 #ifdef HAVE_PNG |
552 | 103 {"z", &z_compression, CONF_TYPE_INT, CONF_RANGE, 0, 10}, |
526 | 104 #endif |
636 | 105 #ifdef HAVE_SDL |
106 {"sdl", &sdl_driver, CONF_TYPE_STRING, 0, 0, 0}, | |
107 {"noxv", &sdl_noxv, CONF_TYPE_FLAG, 0, 0, 1}, | |
108 {"forcexv", &sdl_forcexv, CONF_TYPE_FLAG, 0, 0, 1}, | |
109 #endif | |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
110 {"x", &screen_size_x, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
111 {"y", &screen_size_y, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
112 {"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
|
113 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1}, |
337 | 114 {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0}, |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
115 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
116 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0}, |
337 | 117 {"zoom", &softzoom, CONF_TYPE_FLAG, 0, 0, 1}, |
118 {"nozoom", &softzoom, CONF_TYPE_FLAG, 0, 1, 0}, | |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
119 |
388 | 120 {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32}, |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
121 |
570 | 122 {"noidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 0}, |
565 | 123 {"idx", &index_mode, CONF_TYPE_FLAG, 0, -1, 1}, |
570 | 124 {"forceidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 2}, |
565 | 125 |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
126 {"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE, 0, 100}, |
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
127 {"v", cfg_inc_verbose, CONF_TYPE_FUNC, 0, 0, 0}, |
737 | 128 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, |
129 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, | |
130 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, | |
458
49b0474b2e26
I really hope that you will learn how to use cvs, sooner or later...
arpi_esp
parents:
457
diff
changeset
|
131 {NULL, NULL, 0, 0, 0, 0} |
147 | 132 }; |
378 | 133 |