distance_from_discont


Description:

[ Version ( since = "1.10" ) ]
public uint64 distance_from_discont ()

Get the distance in bytes since the last buffer with the gst_buffer_flag_discont flag.

The distance will be reset to 0 for all buffers with gst_buffer_flag_discont on them, and then calculated for all other following buffers based on their size.

Parameters:

this

a Adapter

Returns:

The offset. Can be gst_buffer_offset_none.