summaryrefslogtreecommitdiffstats
path: root/video/mp_image.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-20 21:28:09 +0200
committerwm4 <wm4@nowhere>2014-04-21 02:57:16 +0200
commit3b5a331c40b936190bb25d4b40474c979bde95da (patch)
treeb39117bfed091c1a07a979563104bc834858bebd /video/mp_image.c
parent5e4e248dc200606e75bc382bebe045afc1962571 (diff)
downloadmpv-3b5a331c40b936190bb25d4b40474c979bde95da.tar.bz2
mpv-3b5a331c40b936190bb25d4b40474c979bde95da.tar.xz
mp_image: add rotation parameter
Diffstat (limited to 'video/mp_image.c')
-rw-r--r--video/mp_image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/mp_image.c b/video/mp_image.c
index 6329e408cf..0a26c567e9 100644
--- a/video/mp_image.c
+++ b/video/mp_image.c
@@ -454,7 +454,8 @@ bool mp_image_params_equals(const struct mp_image_params *p1,
p1->colorspace == p2->colorspace &&
p1->colorlevels == p2->colorlevels &&
p1->outputlevels == p2->outputlevels &&
- p1->chroma_location == p2->chroma_location;
+ p1->chroma_location == p2->chroma_location &&
+ p1->rotate == p2->rotate;
}
void mp_image_params_from_image(struct mp_image_params *params,