projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8fad31
)
add buffer logging
author
Thomas Vander Stichele
<thomas@apestaart.org>
Wed, 14 Mar 2007 15:05:32 +0000
(15:05 +0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Tue, 11 Sep 2012 00:54:31 +0000
(
01:54
+0100)
Original commit message from CVS:
add buffer logging
gst/gdp/gstgdpdepay.c
patch
|
blob
|
history
diff --git
a/gst/gdp/gstgdpdepay.c
b/gst/gdp/gstgdpdepay.c
index 98d584c4a0c2e9f50f42521040c2fc4ec39a374b..3fab80112b00bce236cca299eed9fe6fbd185767 100644
(file)
--- 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;