@@ -1665,7 +1665,6 @@ static void coda_finish_encode(struct coda_ctx *ctx)
vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr);
}
- coda_dbg(1, ctx, "frame size = %u\n", wr_ptr - start_ptr);
coda_read(dev, CODA_RET_ENC_PIC_SLICE_NUM);
val = coda_read(dev, CODA_RET_ENC_PIC_FLAG);
@@ -1696,9 +1695,9 @@ static void coda_finish_encode(struct coda_ctx *ctx)
if (ctx->gopcounter < 0)
ctx->gopcounter = ctx->params.gop_size - 1;
- coda_dbg(1, ctx, "job finished: encoded %c frame (%d)%s\n",
+ coda_dbg(1, ctx, "job finished: encoded %c frame (%d)%s size=%d\n",
coda_frame_type_char(dst_buf->flags), dst_buf->sequence,
- (dst_buf->flags & V4L2_BUF_FLAG_LAST) ? " (last)" : "");
+ (dst_buf->flags & V4L2_BUF_FLAG_LAST) ? " (last)" : "", wr_ptr - start_ptr);
}
static void coda_seq_end_work(struct work_struct *work)