Without this patch a prepared media that entered an error state remains unprepared. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5621>