aggregator: remove commented code

The SEGMENT_DONE event does not require any special treatment. This is
commented out in 6efc106a67.
This commit is contained in:
Stefan Sauer 2017-10-15 12:17:42 +02:00 committed by Tim-Philipp Müller
parent 656a2616f2
commit 498cdd8fac

View file

@ -2685,8 +2685,8 @@ gst_aggregator_pad_event_func (GstPad * pad, GstObject * parent,
GstAggregatorPad *aggpad = GST_AGGREGATOR_PAD (pad);
GstAggregatorClass *klass = GST_AGGREGATOR_GET_CLASS (parent);
if (GST_EVENT_IS_SERIALIZED (event) && GST_EVENT_TYPE (event) != GST_EVENT_EOS
/* && GST_EVENT_TYPE (event) != GST_EVENT_SEGMENT_DONE */ ) {
if (GST_EVENT_IS_SERIALIZED (event)
&& GST_EVENT_TYPE (event) != GST_EVENT_EOS) {
SRC_LOCK (self);
PAD_LOCK (aggpad);