dri2videosink: copy correct number of bytes for interlaved foramts
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 2 Aug 2012 16:55:42 +0000 (16:55 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 2 Aug 2012 16:55:42 +0000 (16:55 +0000)
commit8e7e31c6880588ba4fa6db6926c3702fd14fe927
tree36e4a616e0dba2023ef2152c7648d1f66cf567e6
parentc03b675a3060fbc62ff4a01a44dcc2898600c201
dri2videosink: copy correct number of bytes for interlaved foramts

The width of a component is expressed in pixels, and not bytes,
so we need to multiply by the pixel stride to get the width in bytes.
sys/dri2/gstdri2util.c