mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Improve debug output
This commit is contained in:
parent
d06af02637
commit
11b8d33666
1 changed files with 8 additions and 1 deletions
|
@ -782,7 +782,10 @@ retry:
|
|||
goto retry;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Got output buffer at index %d", idx);
|
||||
GST_DEBUG_OBJECT (self,
|
||||
"Got output buffer at index %d: size %d time %" G_GINT64_FORMAT
|
||||
" flags 0x%08x", idx, buffer_info.size, buffer_info.presentation_time_us,
|
||||
buffer_info.flags);
|
||||
|
||||
frame =
|
||||
_find_nearest_frame (self,
|
||||
|
@ -1266,6 +1269,10 @@ gst_amc_video_dec_handle_frame (GstVideoDecoder * decoder,
|
|||
}
|
||||
|
||||
offset += buffer_info.size;
|
||||
GST_DEBUG_OBJECT (self,
|
||||
"Queueing buffer %d: size %d time %" G_GINT64_FORMAT " flags 0x%08x",
|
||||
idx, buffer_info.size, buffer_info.presentation_time_us,
|
||||
buffer_info.flags);
|
||||
if (!gst_amc_codec_queue_input_buffer (self->codec, idx, &buffer_info))
|
||||
goto queue_error;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue