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)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 14 Nov 2019 14:04:04 +0000 (14:04 +0000)
commit88e5530f59162cf0f31a9cc1c09762ef39a82553
tree398b8b5403487bfb3ed446c1dfab2c7cc4e9ae13
parent91e4307272715585bd5b381ef76390e9329cc700
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