rtmp2sink: Initialize base_ts / last_ts with the actual first observed timestamp
authorSebastian Dröge <sebastian@centricular.com>
Fri, 25 Oct 2024 13:37:15 +0000 (16:37 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 29 Oct 2024 21:22:32 +0000 (21:22 +0000)
commit5b6c76008b85bbc70de20808fbd24a0865324459
treea8c09df3b6f32c1ddabb75ba47738ed1be51c29d
parent5dd2a497be62639142bc4dd67875c26312835ec2
rtmp2sink: Initialize base_ts / last_ts with the actual first observed timestamp

Initializing it with zero can falsely trigger the overflow / underflow detection
code if the first observed timestamp is a big integer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7786>
subprojects/gst-plugins-bad/gst/rtmp2/gstrtmp2sink.c