From 58868d42183fd344cdc0c638ac34e40d26295dcd Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Mon, 6 Dec 2010 11:07:38 +0100 Subject: [PATCH] pad: add some debug to fast push path ... so we don't loose track at times it is needed the most. --- gst/gstpad.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gst/gstpad.c b/gst/gstpad.c index 2b136d0ae9..cb9f8e0331 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -4645,8 +4645,16 @@ gst_pad_push (GstPad * pad, GstBuffer * buffer) GST_PAD_STREAM_LOCK (peer); + GST_CAT_LOG_OBJECT (GST_CAT_SCHEDULING, pad, "calling chainfunction &%s", + GST_DEBUG_FUNCPTR_NAME (GST_PAD_CHAINFUNC (peer))); + ret = GST_PAD_CHAINFUNC (peer) (peer, buffer); + GST_CAT_LOG_OBJECT (GST_CAT_SCHEDULING, pad, + "called chainfunction &%s, returned %s", + GST_DEBUG_FUNCPTR_NAME (GST_PAD_CHAINFUNC (peer)), + gst_flow_get_name (ret)); + GST_PAD_STREAM_UNLOCK (peer); pad_put_cache (pad, cache, cache_ptr);