BaseParse.setPtsInterpolation

void setPtsInterpolation(bool ptsInterpolate)

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.

Parameters

ptsInterpolatetrue if parser should interpolate PTS timestamps