diff --git a/hw/buffer_queue.c b/hw/buffer_queue.c index f3aacb2..9305df5 100644 --- a/hw/buffer_queue.c +++ b/hw/buffer_queue.c @@ -112,6 +112,8 @@ int buffer_list_enqueue(buffer_list_t *buf_list, buffer_t *dma_buf) return 0; } + // V4L2_BUF_FLAG_LAST + buf->v4l2_buffer.flags = 0; buf->v4l2_buffer.flags &= ~V4L2_BUF_FLAG_KEYFRAME; buf->v4l2_buffer.flags |= dma_buf->v4l2_buffer.flags & V4L2_BUF_FLAG_KEYFRAME;