]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitef2feed1ece2366c817090bd9b48ea887921aabf
treef813ed67d32fcd5b35afbe2ff9c8dc5857f8f607
parentbec0a3a67389ede106d0661a007edf832878d8b2
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