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);