]> git.baikalelectronics.ru Git - kernel.git/commit
media: amphion: G/S_PARM only for encoder's output queue
authorMing Qian <ming.qian@nxp.com>
Mon, 9 May 2022 07:52:25 +0000 (09:52 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:22 +0000 (11:02 +0200)
commita13e58b54da8ea1e711288d1d3ad2c9883fdb707
tree0c64cd7ed684f0f897630ae96d7af0c1a98d4f90
parent9d863b7659ee6f4ae4daa3ba5805b7c281a995c4
media: amphion: G/S_PARM only for encoder's output queue

G/S_PARM doesn't make sense for the capture queue of a stateful encoder,
unless V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL is set to reserve hardware
resources.

Otherwise it will fail the v4l2-compliance

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/amphion/venc.c