media/v4l2_m2m: In buffered mode run jobs if either port is streaming
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 1 Feb 2021 18:48:47 +0000 (18:48 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:09 +0000 (11:33 +0000)
commit635b4d5a0f5c1a4b77fcda99aadeb659f48e1573
tree5c471fcbe20a9931090c3060c1763691b02b7786
parent2f3a24142edda7117471e4d36d03e572450698c1
media/v4l2_m2m: In buffered mode run jobs if either port is streaming

In order to get the intended behaviour of the stateful video
decoder API where only the OUTPUT queue needs to be enabled and fed
buffers in order to get the SOURCE_CHANGED event that configures the
CAPTURE queue, we want the device to run should either queue be
streaming.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/v4l2-core/v4l2-mem2mem.c