This is preperation for gstreamer/gstreamer!3889 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4327>