summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-22 19:37:20 +0100
committerwm4 <wm4@nowhere>2012-11-22 19:54:06 +0100
commit74f416fd2dd79ce2c033d2b4bd88cdc69d9448d7 (patch)
tree60764be33d847ccbf08cac472d802f918fc2cde1 /configure
parent1d3179a5f1dc2fdfeaac3582a925c2849ac265a9 (diff)
downloadmpv-74f416fd2dd79ce2c033d2b4bd88cdc69d9448d7.tar.bz2
mpv-74f416fd2dd79ce2c033d2b4bd88cdc69d9448d7.tar.xz
vo_xv: allocate Xv images with aligned stride
This is required, as the Xv image is directly used for rendering OSD and taking screenshots. These involve libswscale, which wants aligned strides. There doesn't seem to be an easy way to request aligned strides from Xv. Simply request an image with an aligned width, which usually results in an aligned stride. The padding border remains invisible. One caveat is that if padding is added, there might be scaling artifacts on the right pixel border of the screen. This is at least the case with nvidia binary drivers. Since we consider vo_xv a sensible choice only on crappy/slow hardware, performance is more important than quality.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions