This reverts commit 49f200cb54. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6562>
49f200cb54