Skip to content

v4l2: Add support for sending bitstream data over multiple v4l2 buffer

When we fill a bitstream buffer the buffer might be too small to hold the entire frame. Only resize to the filled size, preventing the following assertion to happen.

  gst_buffer_resize_range: assertion 'bufmax >= bufoffs + offset + size' failed

And then keep processing until the entire buffer has been written. This will allow writing bitstream data to drivers that limits the size of the v4l2 buffer.

Fixes #2854 (closed)

Merge request reports