BaseSink.setTsOffset

Adjust the synchronisation of sink with offset. A negative value will render buffers earlier than their timestamp. A positive value will delay rendering. This function can be used to fix playback of badly timestamped buffers.

class BaseSink
void
setTsOffset

Parameters

offset GstClockTimeDiff

the new offset