Commit Graph

1 Commits

Author SHA1 Message Date
Moritz Bunkus
394a38acec DTS packetizer: take stream position of provided timestamps into account
Some source files only provide one timestamp every `n` DTS frames. In
such situations the next provided timestamp might arrive before all of
the data for the previous DTS frame has been flushed (due to the DTS
parser buffering data in order to determine whether or not a dependent
frame is following). The result is a single gap of one frame after frame
number `n - 1`.

Fixes #2071.
2017-08-13 17:52:05 +02:00