Adapter.prevDtsAtOffset

gst.types.ClockTime prevDtsAtOffset(size_t offset, out ulong distance)

Get the dts that was before the byte at offset offset in the adapter. When distance is given, the amount of bytes between the dts and the current position is returned.

The dts is reset to GST_CLOCK_TIME_NONE and the distance is set to 0 when the adapter is first created or when it is cleared. This also means that before the first byte with a dts is removed from the adapter, the dts and distance returned are GST_CLOCK_TIME_NONE and 0 respectively.

Parameters

offsetthe offset in the adapter at which to get timestamp
distancepointer to location for distance, or null

Returns

The previously seen dts at given offset.