The caps negotiation is now in the parent, so need to return there
if a reconfiguration is needed, otherwise it will loops forever.
GST_VIDEO_AGGREGATOR_LOCK (vagg);
-restart:
if (GST_VIDEO_INFO_FORMAT (&vagg->info) == GST_VIDEO_FORMAT_UNKNOWN) {
if (timeout)
gst_video_aggregator_advance_on_timeout (vagg);
*/
if (gst_pad_needs_reconfigure (GST_AGGREGATOR_SRC_PAD (vagg))) {
GST_DEBUG_OBJECT (vagg, "Need reconfigure");
- goto restart;
+ flow_ret = GST_AGGREGATOR_FLOW_NEED_DATA;
+ goto unlock_and_return;
}
GST_DEBUG_OBJECT (vagg,