mpegtsmux: detect and ignore gap buffers
authorAlex Hoenig <alexander.hoenig@progeny.net>
Tue, 12 May 2020 14:55:45 +0000 (10:55 -0400)
committerAlex Hoenig <alexander.hoenig@progeny.net>
Tue, 12 May 2020 16:18:28 +0000 (12:18 -0400)
commit0a2e026985d86abe92e24ef546cb81a2e4b7cc10
tree22c1942497ab3f078556735111a36a969b2e7be4
parent6dae95d60f273e623cdfcb7ce80e9ee165947e92
mpegtsmux: detect and ignore gap buffers

Fixes #1291.  Without this, when a stream has gaps and then resumes, the next buffer PTS that is written to the TS is given the PTS of the first gap.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1263>
gst/mpegtsmux/gstbasetsmux.c