mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
aggregator: log all events
We already log a few events explicitly, just log them all with more detail.
This commit is contained in:
parent
bb9f3d2be5
commit
2cd988e763
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue