]> git.sesse.net Git - ffmpeg/commit
avformat/mpegts: only reset timestamps to NOPTS for DVB teletext
authorJan Ekström <jeebjp@gmail.com>
Wed, 12 Aug 2020 21:27:09 +0000 (00:27 +0300)
committerJan Ekström <jeebjp@gmail.com>
Tue, 18 Aug 2020 19:29:22 +0000 (22:29 +0300)
commitc820c2d4bfb7e2573f7bf8e2a3544a98e5a11343
treecb344dc2def84989b985f0d50e5b55587347817a
parente8a88a16f78e66c8d7645b5f71dc8390b033fa70
avformat/mpegts: only reset timestamps to NOPTS for DVB teletext

While having the possibility of non-NOPTS values that can suddenly
jump in time due to adjustments to match PCR is not nice for DVB
subtitles, apparently the parser for this format bases its behavior on
whether the packets' timestamps are NOPTS or not. Thus while we can
adjust timestamps, we should exclude DVB subtitles from the timestamp
unsetting logic.

Fixes #8844
libavformat/mpegts.c