From: Thomas Vander Stichele Date: Wed, 14 Mar 2007 15:05:32 +0000 (+0000) Subject: add buffer logging X-Git-Tag: 1.19.3~507^2~15105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e3bb940b2bb285d7ad6a93f10e74f3d64d6dff8;p=platform%2Fupstream%2Fgstreamer.git add buffer logging Original commit message from CVS: add buffer logging --- diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index 98d584c4a0..3fab80112b 100644 --- a/gst/gdp/gstgdpdepay.c +++ b/gst/gdp/gstgdpdepay.c @@ -312,6 +312,13 @@ gst_gdp_depay_chain (GstPad * pad, GstBuffer * buffer) /* set caps and push */ gst_buffer_set_caps (buf, this->caps); + GST_LOG_OBJECT (this, "pushing buffer %p, timestamp %" + GST_TIME_FORMAT ", duration %" GST_TIME_FORMAT + ", offset %" G_GINT64_FORMAT ", offset_end %" G_GINT64_FORMAT, + buf, + GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)), + GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), + GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf)); ret = gst_pad_push (this->srcpad, buf); if (ret != GST_FLOW_OK) goto push_error;