Skip to content
Commit 191b7e05 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
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 c39c0f00
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