av1parser: Fix segmentation params update
authorSeungha Yang <seungha@centricular.com>
Fri, 15 Sep 2023 18:13:33 +0000 (03:13 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 16 Sep 2023 00:37:26 +0000 (01:37 +0100)
commit737057c27aceb29c5647a9f1dfa132df15be1df5
tree11a7758ee8a6db135431c3d9030dae5b51edc579
parent3b46b162b778f6ff005406edb0566c19e787bae5
av1parser: Fix segmentation params update

Even if the segmentation feature value is not updated,
the parsed "segmentation_update_map" and "segmentation_temporal_update"
values should not be cleared as it's referenced during lower
level bitstream parsing. Also, don't use assert() in parser
unless it's clearly impossible condition.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5336>
subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.c