On Wed Apr 16 01:09:24 2025 +0000, Brendan McGrath wrote:
On well formed media, that `dts < 0` should only ever be true once (as after adding ts_offset, we should never get a value below 0 again). It's mainly there in case we get media with malformed timestamps (and dts goes backwards).
IMO the offset should only be updated once, and there should be a check and warning/fixme message if that assumption is broken.