v4l2codecs: mpeg2: Check that the decoder output formats
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 10 Dec 2021 19:07:18 +0000 (14:07 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 10 Dec 2021 21:37:14 +0000 (21:37 +0000)
commitc4216a693ca559c67250e617cb31047faa317829
tree0dfe571983229ba31254db8ae239852df956c55f
parent91b7a9497b475f277e7cf1e31d64d6310bbc9ed3
v4l2codecs: mpeg2: Check that the decoder output formats

This is to avoid exposing a decoder for which we don't support any
output format. This happens on platform using vendor formats or
not yet supported tiles formats.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1439>
subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codecmpeg2dec.c
subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codecmpeg2dec.h
subprojects/gst-plugins-bad/sys/v4l2codecs/plugin.c