h265parse: Ensure correct timestamps
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 7 May 2020 12:29:28 +0000 (08:29 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 7 May 2020 16:08:36 +0000 (12:08 -0400)
commit3784bd4a739fe08d591f8374bafb968b605196f3
treecb613c703e53a6d77e30e372a7261ebd7a0cfd24
parent80524fb3da137177be2102cdd4b3d1401ba2f94a
h265parse: Ensure correct timestamps

If the input has a miss-placed filler zero byte (e.g. a filler without a 4
bytes start code on the next NAL), we would endup using the same timestamp
twice. Ask the base class to read the timestamp from the buffer were the NAL
actually starts.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1251>
gst/videoparsers/gsth265parse.c