pbutils: Fix vp9 mime mapping when caps when no chroma-site.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 14 Nov 2022 11:44:05 +0000 (12:44 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Nov 2022 01:29:50 +0000 (01:29 +0000)
commitf74fb5142d359c8dba593fdcfc150749d1c526e1
tree6e64e78f32aea3f048bf8202099eb685791b6d80
parent202dc49f8bb5e58553695bfef02b25993d04933c
pbutils: Fix vp9 mime mapping when caps when no chroma-site.

It's possible to have 4:2:0 chroma format without chroma-site in caps, but it
isn't validated by the current code. This patch fixes it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3405>
subprojects/gst-plugins-base/gst-libs/gst/pbutils/codec-utils.c