va: basetransform: Do not use allocator and pool from other display.
authorHe Junyan <junyan.he@intel.com>
Fri, 4 Nov 2022 09:12:22 +0000 (17:12 +0800)
committerHe Junyan <junyan.he@intel.com>
Sat, 5 Nov 2022 05:39:34 +0000 (13:39 +0800)
commitb9b211c1d152e122946f0b9b59cf18a031198ac1
treeb8aa1eb952f003762160070f09b7dcc6516e6f41
parenta8330686cb13a6e3acff4d9e91014e98f64d0de1
va: basetransform: Do not use allocator and pool from other display.

Just like the va decoder, the vpp and deinterlace should not use allocator
and pool from other display. Also, when importing the input buffer, if it
is from other display, we should fallback to memory copy.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1167
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3322>
subprojects/gst-plugins-bad/sys/va/gstvabasetransform.c