tsdemux: Always issue a DTS even when it's equal to PTS
authorVivia Nikolaidou <vivia@ahiru.eu>
Fri, 11 Oct 2019 14:25:04 +0000 (17:25 +0300)
committerJan Schmidt <thaytan@noraisin.net>
Thu, 14 Nov 2019 12:16:04 +0000 (12:16 +0000)
commit413c6ec57b6bad7c2e6ccf7c3933ea81b98ad506
treeddc46bc1872f6837ad72e12533c6689a058f8152
parent9f4b04316162b74cb970bf682ab0622779349bac
tsdemux: Always issue a DTS even when it's equal to PTS

Currently tsdemux timestamps only the PTS, and only issues the DTS if
it's different. In that case, parsers tend to estimate the next DTS
based on the previous DTS and the duration, which can accumulate
rounding errors.
gst/mpegtsdemux/tsdemux.c