summaryrefslogtreecommitdiffstats
path: root/core/cfg-mplayer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-04 14:30:49 +0200
committerwm4 <wm4@nowhere>2013-04-04 14:30:49 +0200
commitf36a5a88d0ac17e8fdc1885d2f3bf95e903d54e3 (patch)
tree32d9a94a8143d958f9f2122092423bc8cdc353e2 /core/cfg-mplayer.h
parentccc213fdac9783b9e450342cf5a346508e961e2f (diff)
downloadmpv-f36a5a88d0ac17e8fdc1885d2f3bf95e903d54e3.tar.bz2
mpv-f36a5a88d0ac17e8fdc1885d2f3bf95e903d54e3.tar.xz
options: fix --no-colorkey
In the last cleanup round, this was accidentally changed from a store option to int, and the option value was passed as flag value. (Not that anyone needs/uses/cares about this option...)
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r--core/cfg-mplayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 17f39822fe..4bdead1be1 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -571,7 +571,7 @@ const m_option_t mplayer_opts[]={
// set fullscreen switch method (workaround for buggy WMs)
OPT_INTRANGE("fsmode-dontuse", vo.fsmode, 0, 31, 4096),
OPT_INT("colorkey", vo.colorkey, 0),
- OPT_INT("no-colorkey", vo.colorkey, 0x1000000),
+ OPT_FLAG_STORE("no-colorkey", vo.colorkey, 0, 0x1000000),
OPT_FLOATRANGE("panscan", vo.panscan, 0, 0.0, 1.0),
OPT_FLOATRANGE("panscanrange", vo.panscanrange, 0, -19.0, 99.0),
OPT_FLAG("force-rgba-osd-rendering", force_rgba_osd, 0),