From: Tim-Philipp Müller Date: Fri, 16 Sep 2011 12:38:41 +0000 (+0100) Subject: pad: add more debug logging for other chain function code path as well X-Git-Tag: RELEASE-0.10.36~154 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b15ae28ad276bf514db9f89986a751b1f8c64be9;p=platform%2Fupstream%2Fgstreamer.git pad: add more debug logging for other chain function code path as well --- diff --git a/gst/gstpad.c b/gst/gstpad.c index 5548bd2..4a2396a 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -4702,8 +4702,10 @@ gst_pad_push (GstPad * pad, GstBuffer * buffer) goto invalid; GST_CAT_LOG_OBJECT (GST_CAT_SCHEDULING, pad, - "calling chainfunction &%s with buffer %p", - GST_DEBUG_FUNCPTR_NAME (GST_PAD_CHAINFUNC (peer)), buffer); + "calling chainfunction &%s with %s buffer %p, ts %" GST_TIME_FORMAT, + GST_DEBUG_FUNCPTR_NAME (GST_PAD_CHAINFUNC (peer)), + (caps) ? gst_structure_get_name (gst_caps_get_structure (caps, 0)) : "", + GST_BUFFER (buffer), GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer))); ret = GST_PAD_CHAINFUNC (peer) (peer, buffer);