Adapter.distanceFromDiscont

ulong distanceFromDiscont()

Get the distance in bytes since the last buffer with the [gst.types.BufferFlags.Discont] flag.

The distance will be reset to 0 for all buffers with [gst.types.BufferFlags.Discont] on them, and then calculated for all other following buffers based on their size.

Returns

The offset. Can be [gst.types.BUFFER_OFFSET_NONE].