va: Validate JPEG subsampling configurations.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 16 Aug 2022 14:06:20 +0000 (16:06 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 17 Aug 2022 18:34:10 +0000 (18:34 +0000)
commit4dd6728ed52adbbf6ea5b98242f861b439679e34
tree55f0a234cdc7ce52c431bb548f4fd599978b1fb7
parent0446e35a14cf63233b2b4c1fcfa0f787bbf282d5
va: Validate JPEG subsampling configurations.

There are Mesa Gallium drivers that report subsampling but without
any pixel format. So, strip out these subsamplings.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2899>
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.c
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h
subprojects/gst-plugins-bad/sys/va/gstvacaps.c