mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
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:
parent
01e9ed23bf
commit
cc7095a224
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user