summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-28 23:13:41 +0100
committerwm4 <wm4@nowhere>2014-03-28 23:13:41 +0100
commitfdeda359f7b060ec0a926eccb86c01b736a1ee16 (patch)
treec84b6f20cd1be39452cd08418020e4fa26e0d52d
parentcd2d4ebf3b05e9cfefbb868e45ed71728178a99c (diff)
downloadmpv-fdeda359f7b060ec0a926eccb86c01b736a1ee16.tar.bz2
mpv-fdeda359f7b060ec0a926eccb86c01b736a1ee16.tar.xz
mp_image: add missing field to mp_image_params_equals()
This is pretty obscure, so it didn't matter much. It still breaks switching output levels at runtime, because the video output is not reinitialized with the new params.
-rw-r--r--video/mp_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/mp_image.c b/video/mp_image.c
index 67d7168bf1..49e02e6e6e 100644
--- a/video/mp_image.c
+++ b/video/mp_image.c
@@ -439,6 +439,7 @@ bool mp_image_params_equals(const struct mp_image_params *p1,
p1->d_w == p2->d_w && p1->d_h == p2->d_h &&
p1->colorspace == p2->colorspace &&
p1->colorlevels == p2->colorlevels &&
+ p1->outputlevels == p2->outputlevels &&
p1->chroma_location == p2->chroma_location;
}