]> git.baikalelectronics.ru Git - kernel.git/commit
media: imx-jpeg: Propagate the output frame size to the capture side
authorMing Qian <ming.qian@nxp.com>
Wed, 23 Mar 2022 09:05:56 +0000 (10:05 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:19 +0000 (11:02 +0200)
commitd7c1583036ffad0db2cfb188499a2cf1929040bc
treef813ed67d32fcd5b35afbe2ff9c8dc5857f8f607
parent80ac9efbd81f2e8597baa910dda9b99bb37d3e39
media: imx-jpeg: Propagate the output frame size to the capture side

The GStreamer v4l2videodec only ever calls S_FMT on the output side
and then expects G_FMT on the capture side to return a valid format.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Reviewed-by: Mirela Rabulea <mirela.rabulea@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c