Copied from https://gitlab.freedesktop.org//gstreamer/gst-plugins-good/-/merge_requests/805
This ensures that the outgoing buffer has the right timestamp if we pulled a backwards buffer forward.
Copied from https://gitlab.freedesktop.org//gstreamer/gst-plugins-good/-/merge_requests/805
This ensures that the outgoing buffer has the right timestamp if we pulled a backwards buffer forward.