There is no guarantee that the passed in data is valid and we should return NULL in that case. Also add API safeguards Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8953>
There is no guarantee that the passed in data is valid and we should return NULL in that case. Also add API safeguards Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8953>