diff options
author | wm4 <wm4@nowhere> | 2013-06-28 20:29:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-28 20:29:42 +0200 |
commit | 9e80fe1c15ea0fa5277585f3428c394a24b4e090 (patch) | |
tree | 1ff5e726490749d92c1277743bd5b919307de7c7 /video/filter | |
parent | 49fb242edb2dc582a5c6d72f53387b8160f829a7 (diff) | |
download | mpv-9e80fe1c15ea0fa5277585f3428c394a24b4e090.tar.bz2 mpv-9e80fe1c15ea0fa5277585f3428c394a24b4e090.tar.xz |
vf_rotate: fix params >= 4
Diffstat (limited to 'video/filter')
-rw-r--r-- | video/filter/vf_rotate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/filter/vf_rotate.c b/video/filter/vf_rotate.c index 09b3d09add..0e5fbdbd37 100644 --- a/video/filter/vf_rotate.c +++ b/video/filter/vf_rotate.c @@ -73,6 +73,8 @@ static int config(struct vf_instance *vf, int width, int height, if (width < height) vf->priv->direction &= 3; } + if (vf->priv->direction & 4) + return vf_next_config(vf, width, height, d_width, d_height, flags, outfmt); struct mp_imgfmt_desc desc = mp_imgfmt_get_desc(outfmt); int a_w = MP_ALIGN_DOWN(width, desc.align_x); int a_h = MP_ALIGN_DOWN(height, desc.align_y); |