va: compositor: Do not use allocator and pool from other display.
authorHe Junyan <junyan.he@intel.com>
Fri, 4 Nov 2022 13:26:23 +0000 (21:26 +0800)
committerHe Junyan <junyan.he@intel.com>
Sat, 5 Nov 2022 05:39:34 +0000 (13:39 +0800)
commitd51b29b1dcd379abce63737296632d60c4211b42
tree5ef7a039059a9af2517b679eb85e027a8f24590e
parentb9b211c1d152e122946f0b9b59cf18a031198ac1
va: compositor: Do not use allocator and pool from other display.

Just like the va decoder, the compositor 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/gstvacompositor.c