summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-07-18 02:20:50 +0200
committerNiklas Haas <git@haasn.xyz>2017-07-18 02:20:50 +0200
commit36f181e0d0ffa940ac31e277bcb0cbd2a1bd6bc4 (patch)
treee4ce9d52cfffa58028c7ad135e73f1b0ee05fbce
parente97c79bd79bccc24923deab120633693b0b79ce4 (diff)
downloadmpv-36f181e0d0ffa940ac31e277bcb0cbd2a1bd6bc4.tar.bz2
mpv-36f181e0d0ffa940ac31e277bcb0cbd2a1bd6bc4.tar.xz
csputils: fix mp_colorspace_equal missing field
Forgot to equality test for mp_colorspace.light
-rw-r--r--video/csputils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/csputils.c b/video/csputils.c
index a4ed9337d2..e9dc8e654d 100644
--- a/video/csputils.c
+++ b/video/csputils.c
@@ -813,6 +813,7 @@ bool mp_colorspace_equal(struct mp_colorspace c1, struct mp_colorspace c2)
c1.levels == c2.levels &&
c1.primaries == c2.primaries &&
c1.gamma == c2.gamma &&
+ c1.light == c2.light &&
c1.sig_peak == c2.sig_peak;
}