h265parser: Compare upstream profile with in SPS.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 14 Dec 2021 18:56:48 +0000 (19:56 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 16 Dec 2021 16:08:30 +0000 (17:08 +0100)
commitb80cd503b62ad6a0d9b28c02d96299d15bc33d0d
tree7c282b46f36a6026e6719d0b12c939c11090d90d
parent3040a2607308fe8d931a23d2c2a0ef7094c0df12
h265parser: Compare upstream profile with in SPS.

Compare if upstream profile in caps is the same as the one parsed in
the SPS. If they are different use the bigger for simplicity and
more chances to decode it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1440>
subprojects/gst-plugins-bad/gst/videoparsers/gsth265parse.c