The caps set on uridecodebin3 via the "caps" property
were never passed to the internal decodebin3, so did
absolutely nothing.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/837
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1034>
GstURIDecodeBin3 *uridecodebin = (GstURIDecodeBin3 *) element;
switch (transition) {
+ case GST_STATE_CHANGE_NULL_TO_READY:
+ g_object_set (uridecodebin->decodebin, "caps", uridecodebin->caps, NULL);
+ break;
case GST_STATE_CHANGE_READY_TO_PAUSED:
ret = activate_next_play_item (uridecodebin);
if (ret == GST_STATE_CHANGE_FAILURE)