diff --git a/gst/playback/gsturidecodebin3.c b/gst/playback/gsturidecodebin3.c index 6d0d77946d..0f64565599 100644 --- a/gst/playback/gsturidecodebin3.c +++ b/gst/playback/gsturidecodebin3.c @@ -1106,6 +1106,9 @@ gst_uri_decode_bin3_change_state (GstElement * element, 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)