If fill buffers are added to compensate for missing samples the input buffer is pushed as well and has to be added to output samples count. This ensure that add - drop == out - in. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8358>
When receiving a new segment we should not restart PTS from the new segment' start. Instead convert current position into the new segment if possible. Fixes: #4060 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7977>