Added reverting support for -aa* options

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4259 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2002-01-19 17:01:48 +00:00
parent 01e9ed23bf
commit cc7095a224
1 changed files with 9 additions and 0 deletions

View File

@ -743,3 +743,12 @@ vo_aa_parseoption(struct config * conf, char *opt, char *param){
return ERR_NOT_AN_OPTION;
}
void
vo_aa_revertoption(config_t* opt,char* param) {
if (!strcasecmp(opt, "aaosdcolor"))
aaopt_osdcolor= AA_SPECIAL;
else if (!strcasecmp(opt, "aasubcolor"))
aaopt_subcolor= AA_SPECIAL;
}