mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
add buffer logging
Original commit message from CVS: add buffer logging
This commit is contained in:
parent
081deac039
commit
9fe1aa7a1a
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue