h265parse: Allow partially broken hvcC data
authorSeungha Yang <seungha@centricular.com>
Mon, 21 Aug 2023 17:57:24 +0000 (02:57 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 23 Aug 2023 11:20:33 +0000 (11:20 +0000)
commit4740a91e00779562b2014ffe1a60e7348b5e66ab
tree8ab055a26a8558450c4acee09b820baa01cd6fff
parent551fe9c9b194cf5b8a36f7c43ec7f325a3d25c6f
h265parse: Allow partially broken hvcC data

Ignores parsing error on the last nalu of the array if the nalu type
is not VPS/SPS/PPS

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2905
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5220>
subprojects/gst-plugins-bad/gst/videoparsers/gsth265parse.c
subprojects/gst-plugins-bad/tests/check/elements/h265parse.c