Mercurial > mplayer.hg
changeset 4258:31ed0b5d8126
Added reverting support for -aa* options
author | albeu |
---|---|
date | Sat, 19 Jan 2002 17:01:48 +0000 |
parents | ab189f1f876f |
children | f96a2b9b41eb |
files | libvo/vo_aa.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_aa.c Sat Jan 19 17:01:03 2002 +0000 +++ b/libvo/vo_aa.c Sat Jan 19 17:01:48 2002 +0000 @@ -743,3 +743,12 @@ 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; +} +