media: vicodec: add V4L2_CID_MIN_BUFFERS_FOR_OUTPUT
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 20 Mar 2019 11:31:39 +0000 (07:31 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 11 Jun 2019 15:30:32 +0000 (11:30 -0400)
commit358387d34bea5965f8330ebb71df649af587bf5f
tree3045ced6019888ed4b55735ee5b1bc86f778d98d
parentefec9c815e5da15fe671fe7b3a0ea5575067b4b5
media: vicodec: add V4L2_CID_MIN_BUFFERS_FOR_OUTPUT

The stateful encoder requires the presence of this control.
Since a single buffer is sufficient for vicodec, we just
set this control to 1.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vicodec/vicodec-core.c