h264parse: Add the missing timestamp when splitting a frame.
authorHe Junyan <junyan.he@intel.com>
Tue, 22 Nov 2022 07:50:44 +0000 (15:50 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 22 Nov 2022 21:47:49 +0000 (21:47 +0000)
commitdae73d66865245dc0e62a0964db09563516701c8
tree7ad11798890ecb81fe1ded46465e7a922ceaa9cb
parent76eb870251cb09dba178722c1ca60e1def0bd0d3
h264parse: 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/gsth264parse.c