From 6fc136ad843fcb1fd25dd77d29191fd59a844ef2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 29 Aug 2018 19:26:04 +0300 Subject: [PATCH] concat: Improve debug output a bit by printing pad names --- plugins/elements/gstconcat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/elements/gstconcat.c b/plugins/elements/gstconcat.c index 6c18d7d..476fc0f 100644 --- a/plugins/elements/gstconcat.c +++ b/plugins/elements/gstconcat.c @@ -324,6 +324,8 @@ gst_concat_request_new_pad (GstElement * element, GstPadTemplate * templ, if (do_notify) gst_concat_notify_active_pad (self); + GST_DEBUG_OBJECT (sinkpad, "requested pad"); + return sinkpad; } @@ -337,7 +339,7 @@ gst_concat_release_pad (GstElement * element, GstPad * pad) gboolean eos = FALSE; gboolean do_notify = FALSE; - GST_DEBUG_OBJECT (self, "releasing pad"); + GST_DEBUG_OBJECT (pad, "releasing pad"); g_mutex_lock (&self->lock); spad->flushing = TRUE; -- 2.7.4