mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
vdpaumpegdec: print frame_nr in debug print
This commit is contained in:
parent
b2aa8ae945
commit
c9464b9860
1 changed files with 4 additions and 2 deletions
|
@ -308,8 +308,10 @@ gst_vdp_mpeg_decoder_push_video_buffer (GstVdpMpegDecoder * mpeg_dec,
|
||||||
gst_buffer_set_caps (GST_BUFFER (buffer), GST_PAD_CAPS (mpeg_dec->src));
|
gst_buffer_set_caps (GST_BUFFER (buffer), GST_PAD_CAPS (mpeg_dec->src));
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (mpeg_dec,
|
GST_DEBUG_OBJECT (mpeg_dec,
|
||||||
"Pushing buffer with timestamp: %" GST_TIME_FORMAT,
|
"Pushing buffer with timestamp: %" GST_TIME_FORMAT
|
||||||
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)));
|
" frame_nr: %" G_GINT64_FORMAT,
|
||||||
|
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)),
|
||||||
|
GST_BUFFER_OFFSET (buffer));
|
||||||
|
|
||||||
return gst_pad_push (mpeg_dec->src, GST_BUFFER (buffer));
|
return gst_pad_push (mpeg_dec->src, GST_BUFFER (buffer));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue