mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
basetransform: Print buffer PTS when submitting an input buffer
This commit is contained in:
parent
ebd2748cd0
commit
73263271bb
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue