This takes a free-form GstStructure as parameter that allows to easily extend it with new configuration at a later time without having to add new API. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5649>