diff options
author | wm4 <wm4@nowhere> | 2014-04-20 21:36:56 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-21 02:57:16 +0200 |
commit | ef2885e771d184ff39c688836a8f06595a6cdf86 (patch) | |
tree | 10d7beb187a504e75d46404493fb44750210620e /video/out/aspect.h | |
parent | cc00b3ff36692d42184d2b88cfabbef3151793d8 (diff) | |
download | mpv-ef2885e771d184ff39c688836a8f06595a6cdf86.tar.bz2 mpv-ef2885e771d184ff39c688836a8f06595a6cdf86.tar.xz |
vo: add some general support code for VOs that allow rotation
For rotation, we assume that the source image will be rotated within the
VO, so the aspect/panscan code needs to calculate its param using
rotated coordinates. VOs which support rotation natively can use this.
Diffstat (limited to 'video/out/aspect.h')
-rw-r--r-- | video/out/aspect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/aspect.h b/video/out/aspect.h index db8aa37040..04d314971e 100644 --- a/video/out/aspect.h +++ b/video/out/aspect.h @@ -25,7 +25,7 @@ struct mp_image_params; struct mp_rect; struct mp_osd_res; void mp_get_src_dst_rects(struct mp_log *log, struct mp_vo_opts *opts, - struct mp_image_params *video, + int vo_caps, struct mp_image_params *video, int window_w, int window_h, double monitor_par, struct mp_rect *out_src, struct mp_rect *out_dst, |