av1decoder: Fix wrong spatial layer validation
authorSeungha Yang <seungha@centricular.com>
Thu, 17 Nov 2022 16:49:43 +0000 (01:49 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 19 Nov 2022 11:58:01 +0000 (11:58 +0000)
commitf1a52c5ea099352e66f0abdb50f911dfd9b3f392
treecaecd2af56b1da54398329c92a4a29bf23a45695
parent55ca832d70ba48bf7701ec7346ef800ccf73a41f
av1decoder: Fix wrong spatial layer validation

Highest spatial id and temporal id is independent, and should not drop
temporal enhance layer by the previous condition. Note that
the decision for dropping OBU based on operation point is being
handled in gst_av1_parser_identify_one_obu() already.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1585
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3430>
subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstav1decoder.c