BaseParse.setPtsInterpolation

By default, the base class will guess PTS timestamps using a simple interpolation (previous timestamp + duration), which is incorrect for data streams with reordering, where PTS can go backward. Sub-classes implementing such formats should disable PTS interpolation.

class BaseParse
void
setPtsInterpolation

Parameters

ptsInterpolate bool

%TRUE if parser should interpolate PTS timestamps

Meta