mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-01 09:43:55 +00:00
aggregator: Fixup for previous commit to prevent infinite loop if no events are pending
This commit is contained in:
parent
08bd835f09
commit
49d212e908
1 changed files with 1 additions and 1 deletions
|
@ -1122,7 +1122,7 @@ gst_aggregator_aggregate_func (GstAggregator * self)
|
||||||
if (!gst_aggregator_wait_and_check (self, &timeout))
|
if (!gst_aggregator_wait_and_check (self, &timeout))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
events_query_data.processed_event = TRUE;
|
events_query_data.processed_event = FALSE;
|
||||||
events_query_data.flow_ret = GST_FLOW_OK;
|
events_query_data.flow_ret = GST_FLOW_OK;
|
||||||
gst_element_foreach_sink_pad (GST_ELEMENT_CAST (self),
|
gst_element_foreach_sink_pad (GST_ELEMENT_CAST (self),
|
||||||
gst_aggregator_do_events_and_queries, &events_query_data);
|
gst_aggregator_do_events_and_queries, &events_query_data);
|
||||||
|
|
Loading…
Reference in a new issue