matroska: demux: update stream_start_time
authorStéphane Cerveau <scerveau@collabora.com>
Thu, 15 Jul 2021 10:02:40 +0000 (12:02 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 17 Aug 2021 20:09:14 +0000 (16:09 -0400)
commit508a565163990e6f24e00d73f0b9715eec668443
tree777cc5ffd15812ace0af2399c372827bd9e43ce3
parent65deef0b0cd8716c0d06fa9445a5219edb700e40
matroska: demux: update stream_start_time

The stream_start_time can be less than the first detected.
In case of B-Frame based media, the first frame PTS might be
greater than the next one.

Need to keep the segment.start if a seek has been performed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1030>
gst/matroska/matroska-demux.c