Hi,
Please refer to this patch:
You can queue the buffers like:
+ // Push the frame into V4L2.
+ enc_buf.m.planes[0].m.fd = fd;
+ enc_buf.m.planes[0].bytesused = 1; // byteused must be non-zero
+ ctx->enc->output_plane.qBuffer(enc_buf, NULL);