Improve debug output

This commit is contained in:
Sebastian Dröge 2012-09-10 15:31:04 +02:00
parent d06af02637
commit 11b8d33666

View file

@ -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;
}