xvimagepool: Update size, stride, and offset with allocated XvImage
authorSeungha Yang <seungha.yang@navercorp.com>
Fri, 8 Nov 2019 08:28:44 +0000 (17:28 +0900)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 18 Nov 2019 07:41:10 +0000 (07:41 +0000)
commitb4e37d8a4b5a8672fa5bede013eb7df078e2e47f
treed95612acd0b6246158f2ba2fc221499df5a090d3
parentce5e2f69170f01c2c28a989dd9a0fa15d3d795fa
xvimagepool: Update size, stride, and offset with allocated XvImage

Memory layout of XvImage might be different from that of GstVideoInfo.
If so, the image size, stride, and offset would be wrongly informed.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/677
sys/xvimage/xvimagepool.c
sys/xvimage/xvimagepool.h