aggregator: remove duplicated code fragment

This code already runs above when (event || query).
This commit is contained in:
Stefan Sauer 2017-07-13 22:00:58 +02:00 committed by Tim-Philipp Müller
parent b609fd7138
commit 27708ff7c1

View file

@ -812,12 +812,6 @@ check_events (GstAggregator * self, GstAggregatorPad * pad, gpointer user_data)
PAD_BROADCAST_EVENT (pad);
PAD_UNLOCK (pad);
}
if (query) {
if (processed_event)
*processed_event = TRUE;
if (klass == NULL)
klass = GST_AGGREGATOR_GET_CLASS (self);
}
} while (event != NULL);
return TRUE;