va: basedec: Copy the frames into other_pool if needed.
authorHe Junyan <junyan.he@intel.com>
Wed, 9 Jun 2021 09:14:42 +0000 (17:14 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 28 Jun 2021 15:16:39 +0000 (15:16 +0000)
commit85c56c1f075e0f1beffc60e5ad346f8ee92088e3
tree05d432c517d87cc0ff968e4dc6e724e534d8b4d1
parent55302c97058b55c6b2020509c0443d1ed7a7f546
va: basedec: Copy the frames into other_pool if needed.

If decoder's crop_top/left value > 0 and the downstream does not
support the VideoCropMeta, we need to manually copy the frames
into the other_pool and output it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2298>
sys/va/gstvabasedec.c
sys/va/gstvabasedec.h