mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
v4l2slvp8dec: Add debugging for reference frames
This simply trace the frame number of the references used for decoding. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1245>
This commit is contained in:
parent
a449815f95
commit
8c56822936
1 changed files with 5 additions and 0 deletions
|
@ -381,6 +381,11 @@ gst_v4l2_codec_vp8_dec_fill_references (GstV4l2CodecVp8Dec * self)
|
|||
if (decoder->alt_ref_picture)
|
||||
self->frame_header.alt_frame_ts =
|
||||
decoder->alt_ref_picture->system_frame_number * 1000;
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Passing references: last %u, golden %u, alt %u",
|
||||
(guint32) self->frame_header.last_frame_ts / 1000,
|
||||
(guint32) self->frame_header.golden_frame_ts / 1000,
|
||||
(guint32) self->frame_header.alt_frame_ts / 1000);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue