diff options
author | wm4 <wm4@nowhere> | 2016-06-25 12:44:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-06-25 12:44:42 +0200 |
commit | 22c76e85db88a772e3360892cd3a673a89c6fc7a (patch) | |
tree | 67a8ac240599a0800f9f31b648e6e2d8f0e83c7a /sub/img_convert.c | |
parent | d1d864546cf6f63b089cf248c04fa6b625f23d50 (diff) | |
download | mpv-22c76e85db88a772e3360892cd3a673a89c6fc7a.tar.bz2 mpv-22c76e85db88a772e3360892cd3a673a89c6fc7a.tar.xz |
vo_xv: fix behavior with odd sizes
The size check introduced in commit d941a57b did not consider that Xv
can round up the image size to the next chroma boundary. Doing that
makes sense, so it can't certainly be considered server misbehavior.
Do 2 things against this: allow if the server returns a larger image (we
just crop it then), and also allocate a properly aligned image in the
first place.
Diffstat (limited to 'sub/img_convert.c')
0 files changed, 0 insertions, 0 deletions