From 2cd988e763fb2897bc4a82b09108f09a35587c34 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sun, 30 Jul 2017 12:17:57 +0200 Subject: [PATCH] aggregator: log all events We already log a few events explicitly, just log them all with more detail. --- libs/gst/base/gstaggregator.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index 4431cbf5e3..0e191a0deb 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -1358,6 +1358,8 @@ gst_aggregator_default_sink_event (GstAggregator * self, GstPad *pad = GST_PAD (aggpad); GstAggregatorPrivate *priv = self->priv; + GST_DEBUG_OBJECT (aggpad, "Got event: %" GST_PTR_FORMAT, event); + switch (GST_EVENT_TYPE (event)) { case GST_EVENT_FLUSH_START: { @@ -1368,8 +1370,6 @@ gst_aggregator_default_sink_event (GstAggregator * self, } case GST_EVENT_FLUSH_STOP: { - GST_DEBUG_OBJECT (aggpad, "Got FLUSH_STOP"); - gst_aggregator_pad_flush (aggpad, self); GST_OBJECT_LOCK (self); if (priv->flush_seeking) { @@ -1401,8 +1401,6 @@ gst_aggregator_default_sink_event (GstAggregator * self, } case GST_EVENT_EOS: { - GST_DEBUG_OBJECT (aggpad, "EOS"); - /* We still have a buffer, and we don't want the subclass to have to * check for it. Mark pending_eos, eos will be set when steal_buffer is * called