concat: Improve debug output a bit by printing pad names
authorSebastian Dröge <sebastian@centricular.com>
Wed, 29 Aug 2018 16:26:04 +0000 (19:26 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 29 Aug 2018 16:26:04 +0000 (19:26 +0300)
plugins/elements/gstconcat.c

index 6c18d7d..476fc0f 100644 (file)
@@ -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;