vapostproc: Split caps transform in two phases.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 11 Oct 2021 16:57:48 +0000 (18:57 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 18 Oct 2021 19:14:15 +0000 (19:14 +0000)
commitd12991c979004144c9bcfbdeffa2908404fa61d6
tree471a5b6428702160bb73c1549b6b6553f81585d8
parent6bf36f6e0f7b6dff674405ab930b9098a2aa606d
vapostproc: Split caps transform in two phases.

In order to make more readable the caps transformation, the operation
was split in two phases:

1. Rangify the supported caps structures.
2. Add the missing (and supported) caps features.

Step 1 modified its logic, by copying any unrecognized structure.
It's a previous step required for allowing ANY caps feature as
passthrough.

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