qtdemux: Do not send unnecessary GAP events
authorSeungha Yang <seungha@centricular.com>
Tue, 16 Nov 2021 08:35:25 +0000 (17:35 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 17 Feb 2022 19:39:53 +0000 (19:39 +0000)
commit53ed876002c31b6c4a32a4ccc01dbfc51d2a0aaf
tree84fab4fdf898c0f1ad683cffaaf11a12b71bf105
parent97720dabe02bcbdd733395b7bc61dc01d236dc51
qtdemux: Do not send unnecessary GAP events

Each stream may have its own segment timeline
(i.g., different segment.start or segment.base)
depending on edit-list and composition-to-decode atom.

Make sure whether time position of a stream has been actually
far behind than that of current target stream.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1352>
subprojects/gst-plugins-good/gst/isomp4/qtdemux.c