set_ts_at_offset


Description:

[ Version ( since = "1.2" ) ]
public void set_ts_at_offset (size_t offset)

This function should only be called from a handle_frame implementation.

Parse creates initial timestamps for frames by using the last timestamp seen in the stream before the frame starts. In certain cases, the correct timestamps will occur in the stream after the start of the frame, but before the start of the actual picture data. This function can be used to set the timestamps based on the offset into the frame data that the picture starts.

Parameters:

this

a Parse

offset

offset into current buffer