vacaps: Sort raw caps according their efficiency.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 26 Oct 2022 16:05:32 +0000 (18:05 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 8 Nov 2022 05:15:09 +0000 (05:15 +0000)
commit96a6b330294b095455994d87e10561e0a7063df3
tree26369c8a73704cd23b3a0192dc62a13b03ab3fef
parentdb450689db1c8216a059c7733e1d2d37f4b3443b
vacaps: Sort raw caps according their efficiency.

Caps negotiations considers template caps order. This patch sets the
correct order according the feture caps: VAMemory, DMABuf and
SystemMemory.

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