va: postproc: Use allocation caps when creating sink pool.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sun, 28 Feb 2021 07:38:36 +0000 (08:38 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 3 Apr 2021 13:47:18 +0000 (15:47 +0200)
commitb2a4e066ab2686e96562d528b9a91c58d77b1eb0
tree4c4d8ac2f6eece3fc7b742729b0fd7ad56362a35
parentff3cce38b6ac54feb19bb93d36ed0337c7c15442
va: postproc: Use allocation caps when creating sink pool.

When an input buffer needs to be copied into a VA memory, it's
required to create a buffer pool. This patch uses the
propose_allocation() caps to instantiate the allocator and pool,
instead of the negotiated caps, which rather represents the resolution
to display.

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