vaapivideobufferpool: force video meta if sizes are different
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Thu, 5 Mar 2020 21:22:23 +0000 (13:22 -0800)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 6 Mar 2020 12:08:44 +0000 (12:08 +0000)
commitda008baac29c3319cc13c0c3b20ce3669820458d
tree1d240fdf50e4225f0a99442722fb17e7e58ecbae
parent385892dd32050c6c27760c0fdeb4748590f49c36
vaapivideobufferpool: force video meta if sizes are different

The strides and offsets could be the same, but the allocation
size might be different (e.g. alignment).  Thus, ensure we also
set the flag to copy from VA memory to system memory when alloc
size differs.

Fixes #243
gst/vaapi/gstvaapivideobufferpool.c