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)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 28 Nov 2019 13:29:17 +0000 (13:29 +0000)
commit758cc680dc07d176b3e68de7dbbcd827d0d748f3
tree370cf6472629f21ab0564ec59af69b41846811de
parentc541aa9343074d025c14758130a3c19f058e366d
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