Skip to content
Commit 30dcc7ec authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
Browse files

vc04_services: codec: Allocate the max number of buffers on the VPU



The VPU's API can't match the use of VIDIOC_CREATE_BUFS to add buffers
to the internal pool whilst a port is enabled, therefore allocate
the maximum number of buffers possible in V4L2 to avoid the issue.
As these are only buffer headers, the overhead is relatively small.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent bae54096
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