summaryrefslogtreecommitdiffstats
path: root/video/mp_image.h
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.h
parent5e4e248dc200606e75bc382bebe045afc1962571 (diff)
downloadmpv-3b5a331c40b936190bb25d4b40474c979bde95da.tar.bz2
mpv-3b5a331c40b936190bb25d4b40474c979bde95da.tar.xz
mp_image: add rotation parameter
Diffstat (limited to 'video/mp_image.h')
-rw-r--r--video/mp_image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/mp_image.h b/video/mp_image.h
index c378a01b78..16bdbfc2eb 100644
--- a/video/mp_image.h
+++ b/video/mp_image.h
@@ -52,6 +52,8 @@ struct mp_image_params {
// does not describe the current state of the image. (Somewhat similar to
// d_w/d_h vs. w/h.)
enum mp_csp_levels outputlevels;
+ // The image should be rotated clockwise (0-359 degrees).
+ int rotate;
};
/* Memory management: