Skip to content
Commit 7b69e300 authored by David Plowman's avatar David Plowman Committed by popcornmix
Browse files

media: bcm2835-unicam: change minimum number of vb2_queue buffers to 1



Since the unicam driver was modified to write to a dummy buffer when no
user-supplied buffer is available, it can now write to and return a
buffer even when there's only a single one. Enable this by changing the
min_buffers_needed in the vb2_queue; it will be useful for enabling
still captures without allocating more memory than absolutely necessary.

Signed-off-by: default avatarDavid Plowman <david.plowman@raspberrypi.com>
parent e2318505
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment