av1parse: Add temporal unit check when TD is absent.
authorHe Junyan <junyan.he@intel.com>
Thu, 10 Feb 2022 04:52:30 +0000 (12:52 +0800)
committerHe Junyan <junyan.he@intel.com>
Fri, 11 Feb 2022 06:34:04 +0000 (14:34 +0800)
commit90cea4fadf3319784efa9984c208cce491155215
treeecdc99d28e2c614d97fa25f04bffc1c0069a000b
parenta7ca0b2079928014751f4ad458df33ef8ac963c6
av1parse: Add temporal unit check when TD is absent.

The current manner for deciding the new temporal unit is based on
temporal delimiter(TD) OBU. We only start a new temporal unit when
the TD comes.
But some streams do not have TD at all, which makes the output "TU"
alignment fail to work. We now add check based on the relationship
between the different layers and it can successfully judge the TU edge.

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