media: v4l2: Add ignore_streaming flag
authorSebastian Fricke <sebastian.fricke@collabora.com>
Wed, 8 Nov 2023 19:29:20 +0000 (20:29 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 16 Nov 2023 12:25:52 +0000 (13:25 +0100)
commit103d15bc20086820ce2c2af40a651529a87c9e3c
treed8223ab7316f3c1d7af935d7b8a45384ec4609a6
parent7ad7d7fb3e69d8d58ffa173bfa6dc74d0a392175
media: v4l2: Add ignore_streaming flag

Add a new flag to the `struct v4l2_m2m_dev` to toggle whether a queue
must be streaming in order to allow queuing jobs to the ready queue.
Currently, both queues (CAPTURE & OUTPUT) must be streaming in order to
allow adding new jobs. This behavior limits the usability of M2M for
some drivers, as these have to be able, to perform analysis of the
sequence to ensure, that userspace prepares the CAPTURE queue correctly.

Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
include/media/v4l2-mem2mem.h