Adapter.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.

class Adapter
ulong
distanceFromDiscont
()

Return Value

Type: ulong

The offset. Can be GST_BUFFER_OFFSET_NONE.