v4l2object: mark jpeg as parsed
authorMichael Tretter <m.tretter@pengutronix.de>
Tue, 31 Jan 2023 15:02:03 +0000 (16:02 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 22 Mar 2023 11:55:31 +0000 (11:55 +0000)
commit6c539cbb4a11a7ba40c8ac32bfc42a3616752995
tree67d063c0df7ab44cf6970d70526a68232746300e
parent5fcd34bf2296b554e22d1158b0873698e9b5842b
v4l2object: mark jpeg as parsed

Assuming that V4L2 CAPTURE devices always use one buffer per JPEG image, we can
always mark JPEGs provided by a V4L2 element as parsed.

The V4L2 elements require that JPEG images sent to V4L2 OUTPUT devices must
always be parsed.

This is necessary to link a V4L2 CAPTURE device with a V4L2 OUTPUT device
without explicitly marking the stream as parsed or adding a jpegparse into the
pipeline.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4247>
subprojects/gst-plugins-good/docs/gst_plugins_cache.json
subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c