Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6087>
Co-Authored-By: Nirbheek Chauhan <nirbheek@centricular.com>