new option: -include

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@163 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
szabii 2001-03-19 18:14:21 +00:00
parent ed05b55be4
commit 5c58141a5f
3 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,7 @@
struct config conf[]={
/* name, pointer, type, flags, min, max */
{"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */
{"o", "Option -o has been renamed to -vo (video-out), use -vo !\n",
CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
{"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0},

View File

@ -83,6 +83,10 @@ static int cfg_inc_verbose(struct config *conf){
return 0;
}
static int cfg_include(struct config *conf, char *filename){
return parse_config_file(conf, filename);
}
static int max_framesize=0;
static int dbg_es_sent=0;

View File

@ -85,6 +85,10 @@ static int cfg_inc_verbose(struct config *conf){
return 0;
}
static int cfg_include(struct config *conf, char *filename){
return parse_config_file(conf, filename);
}
static int max_framesize=0;
static int dbg_es_sent=0;