va: Add vacompat.h to wrap glib functions.
authorHe Junyan <junyan.he@intel.com>
Thu, 20 Jan 2022 13:44:20 +0000 (21:44 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 1 Mar 2022 09:53:50 +0000 (10:53 +0100)
commitfb644e84fa9648ea75dcb3e890d62923ca4a84b2
treeb53d963052b24eb7f6806a2a0b08d50703db6359
parent57d50a941f1e4433136a26577c8a957cc76c85c0
va: Add vacompat.h to wrap glib functions.

The g_queue_clear_full() and g_array_copy() functions in the glib
may not be available for the current glib version check, so we add
helper functions to wrap it.
This should be deleted after the glib version bumps.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1051>
subprojects/gst-plugins-bad/sys/va/vacompat.h [new file with mode: 0644]