summaryrefslogtreecommitdiffstats
path: root/video/out/vo_wayland.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-26 10:09:27 +0200
committerwm4 <wm4@nowhere>2013-08-26 10:09:46 +0200
commitdf9639d755448380d0caec144a7e822bb100078e (patch)
tree37ef3502b7de63f3561faa550e215d1bc2fcff84 /video/out/vo_wayland.c
parent3fc3bf70f972f4e68258193f0f9c70ee6b85be5e (diff)
downloadmpv-df9639d755448380d0caec144a7e822bb100078e.tar.bz2
mpv-df9639d755448380d0caec144a7e822bb100078e.tar.xz
gl_video: fix odd video sizes with PBOs
Odd video sizes if pixel formats with chroma subsampling and PBOs were used, garbage was rendered. This was because the PBO path created buffers with an unpadded size, and then tried to upload a padded image to it. Fix it by explicitly setting the padded size. (As with the non-PBO path, we rely that image allocations are somehow padded, which is normally the case.)
Diffstat (limited to 'video/out/vo_wayland.c')
0 files changed, 0 insertions, 0 deletions