tsparse: Forward incoming timestamps
authorEdward Hervey <edward@centricular.com>
Thu, 5 Nov 2020 11:48:27 +0000 (13:48 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 2 Dec 2020 14:22:06 +0000 (14:22 +0000)
commit30ee21eae36e7279f63b77167ba1dcf5f70b8e83
treeba8ad3124f42d7b9d94e4e5399278be254023e5d
parent2f3e24542685567b1a7ebcfb567c8472af5810e1
tsparse: Forward incoming timestamps

Ensure we properly forward the upstream PTS/DTS on the regular and program
source pads. All packets being processed will carry over the latest PTS/DTS (as
a reconstructed GstBuffer).

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1419

And properly forward PTS/DTS for program pads (which wasn't the case before)

Original patch by Vivia Nikolaidou <vivia@ahiru.eu>

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1769>
gst/mpegtsdemux/mpegtspacketizer.c
gst/mpegtsdemux/mpegtspacketizer.h
gst/mpegtsdemux/mpegtsparse.c