linux/drivers/media/platform/nxp/imx-jpeg
Ming Qian b833b17849 media: imx-jpeg: notify source chagne event when the first picture parsed
After gstreamer rework the dynamic resolution change handling, gstreamer
stop doing capture buffer allocation based on guesses and wait for the
source change event when available. It requires driver always notify
source change event in the initialization, even if the size parsed is
equal to the size set on capture queue. otherwise, the pipeline will be
stalled.

Currently driver may not notify source change event if the parsed format
and size are equal to those previously established, but it may stall the
gstreamer pipeline.

The link of gstreamer patch is
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4437

Fixes: b4e1fb8643 ("media: imx-jpeg: Support dynamic resolution change")
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-10-13 11:33:22 +02:00
..
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile
mxc-jpeg-hw.c media: imx-jpeg: Encoder add support for 12bit jpeg 2023-04-15 09:14:58 +01:00
mxc-jpeg-hw.h media: imx-jpeg: Remove unused declarations 2023-09-27 09:40:01 +02:00
mxc-jpeg.c media: imx-jpeg: notify source chagne event when the first picture parsed 2023-10-13 11:33:22 +02:00
mxc-jpeg.h media: imx-jpeg: notify source chagne event when the first picture parsed 2023-10-13 11:33:22 +02:00