v4l2: do not copy dequeued buffer
...unless we are running out and have no other option left. This provides zero-copy video capture in most cases. Note though that the rawvideo decoder will still copy frames to adjust pitches and transfer from capture buffers to picture buffers (even if the pitches do not need adjustments).
Please register or sign in to comment