h265parse: Add the missing timestamp when splitting a frame.
authorHe Junyan <junyan.he@intel.com>
Tue, 22 Nov 2022 08:42:26 +0000 (16:42 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 22 Nov 2022 21:47:49 +0000 (21:47 +0000)
commite7d584a8167ad013162b343e0df8f6374ac56564
treec63b4ec3ae91ba424c2ce5ad55ce13f8328c8edd
parentdae73d66865245dc0e62a0964db09563516701c8
h265parse: Add the missing timestamp when splitting a frame.

When splitting a frame, the gst_buffer_copy_region() does not copy
the timestamp correctly for sub frames when the offset is not 0.
We still need those timestamps for each output sub frame.

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