codecparsers: Exclude the size of obu_size when identify OBU.
authorHe Junyan <junyan.he@intel.com>
Sat, 16 Jan 2021 08:48:38 +0000 (16:48 +0800)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 19 Jan 2021 18:38:03 +0000 (18:38 +0000)
commitb93315fa6ccea12af31d2f20137f7e6bb1e60564
treee7c6826dadef69d722479949fa01ea1e3176141e
parent3e82c1f88e0c21b549813137ee99d70e0c0d116b
codecparsers: Exclude the size of obu_size when identify OBU.

obu->obu_size does not contain the bytes of obu_size itself, we need
to exclude it when doing the saint check.

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