Mercurial > mplayer.hg
comparison cfg-mplayer.h @ 150:2f3e01a1fd87
cfgparse fixes
author | szabii |
---|---|
date | Mon, 19 Mar 2001 01:49:44 +0000 |
parents | 16a32ec6419d |
children | 9708d4b2765b |
comparison
equal
deleted
inserted
replaced
149:5762a1c7247b | 150:2f3e01a1fd87 |
---|---|
1 /* | 1 /* |
2 * config for cfgparser | 2 * config for cfgparser |
3 */ | 3 */ |
4 | |
5 #include "cfg-mplayer-func.h" | |
4 | 6 |
5 struct config conf[]={ | 7 struct config conf[]={ |
6 /* name, pointer, type, flags, min, max */ | 8 /* name, pointer, type, flags, min, max */ |
7 {"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0}, | 9 {"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0}, |
8 {"dsp", &dsp, CONF_TYPE_STRING, 0, 0, 0}, | 10 {"dsp", &dsp, CONF_TYPE_STRING, 0, 0, 0}, |
37 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1}, | 39 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1}, |
38 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0}, | 40 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0}, |
39 {"idx", &no_index, CONF_TYPE_FLAG, 0, 1, 0}, | 41 {"idx", &no_index, CONF_TYPE_FLAG, 0, 1, 0}, |
40 {"noidx", &no_index, CONF_TYPE_FLAG, 0, 0, 1}, | 42 {"noidx", &no_index, CONF_TYPE_FLAG, 0, 0, 1}, |
41 {"v", &verbose, CONF_TYPE_INT, 0, 0, 0}, | 43 {"v", &verbose, CONF_TYPE_INT, 0, 0, 0}, |
44 {"-help", &cfg_func_help, CONF_TYPE_FUNC, CONF_NOCFG, 0, 0}, | |
45 {"h", &cfg_func_help, CONF_TYPE_FUNC, CONF_NOCFG, 0, 0}, | |
42 {NULL, NULL, 0, 0, 0, 0} | 46 {NULL, NULL, 0, 0, 0, 0} |
43 }; | 47 }; |