diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2015-01-28 10:57:21 +0000 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2015-01-28 10:57:21 +0000 |
commit | 62bbf88681aa6af74b5ea8a62565c0c3d67ebaa5 (patch) | |
tree | ee02a10e665a3ea3519a4fbdb6c95e61f1cc9d68 | |
parent | aa096247076d70fae1dd00e2a5ae28f9c5bb8ad3 (diff) |
Add debug log before returning the frame to video decoder class
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r-- | src/gstqcvideodec.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gstqcvideodec.c b/src/gstqcvideodec.c index 4ae6c48..952526b 100644 --- a/src/gstqcvideodec.c +++ b/src/gstqcvideodec.c @@ -596,7 +596,7 @@ gst_qcvideodec_handle_frame (GstVideoDecoder * decoder_cxt, GstFlowReturn res; Gstqcvideodec *dec = GST_QCVIDEODEC (decoder_cxt); GST_VIDEO_DECODER_STREAM_UNLOCK (decoder_cxt); - GST_DEBUG ("gst_qcvideodec_handle_frame Enter with frame number : %d, TS: %" + GST_DEBUG ("Enter with frame number : %d, TS: %" GST_TIME_FORMAT ", system_frame_number: %d, distance: %d, count: %d", frame->system_frame_number, GST_TIME_ARGS (frame->pts), frame->system_frame_number, frame->distance_from_sync, frame->ref_count); @@ -1309,6 +1309,11 @@ video_thread (void *context) GST_DEBUG ("VDEC_MSG_RESP_OUTPUT_BUFFER_DONE for the buffer index : %d and len : %d", frm_count, outputbuffer->len); + GST_DEBUG ("Frame number : %d, TS: %" + GST_TIME_FORMAT ", system_frame_number: %d", + g_frame->system_frame_number, GST_TIME_ARGS (g_frame->pts), + g_frame->system_frame_number); + if (g_frame != NULL) { /* ret = gst_video_decoder_allocate_output_frame(GST_VIDEO_DECODER(decode_context),g_frame); if (ret == GST_FLOW_OK && gst_buffer_map (g_frame->output_buffer, &map, GST_MAP_WRITE)) |