set_pts_interpolation


Description:

public void set_pts_interpolation (bool pts_interpolate)

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:

this

a Parse

pts_interpolate

true if parser should interpolate PTS timestamps