basetransform: Print buffer PTS when submitting an input buffer

This commit is contained in:
Sebastian Dröge 2015-09-23 20:31:48 +02:00
parent ebd2748cd0
commit 73263271bb

View file

@ -2028,13 +2028,14 @@ default_submit_input_buffer (GstBaseTransform * trans, gboolean is_discont,
if (GST_BUFFER_OFFSET_IS_VALID (inbuf))
GST_DEBUG_OBJECT (trans,
"handling buffer %p of size %" G_GSIZE_FORMAT " and offset %"
G_GUINT64_FORMAT, inbuf, gst_buffer_get_size (inbuf),
GST_BUFFER_OFFSET (inbuf));
"handling buffer %p of size %" G_GSIZE_FORMAT ", PTS %" GST_TIME_FORMAT
" and offset %" G_GUINT64_FORMAT, inbuf, gst_buffer_get_size (inbuf),
GST_TIME_ARGS (GST_BUFFER_PTS (inbuf)), GST_BUFFER_OFFSET (inbuf));
else
GST_DEBUG_OBJECT (trans,
"handling buffer %p of size %" G_GSIZE_FORMAT " and offset NONE", inbuf,
gst_buffer_get_size (inbuf));
"handling buffer %p of size %" G_GSIZE_FORMAT ", PTS %" GST_TIME_FORMAT
" and offset NONE", inbuf, gst_buffer_get_size (inbuf),
GST_TIME_ARGS (GST_BUFFER_PTS (inbuf)));
/* Don't allow buffer handling before negotiation, except in passthrough mode
* or if the class doesn't implement a set_caps function (in which case it doesn't