[ Version ( since = "1.10" ) ]
public uint64 prev_offset (out uint64 distance)
Get the offset that was before the current byte in the adapter.
When distance
is given, the amount of bytes between the offset and the current position is returned.
The offset is reset to GST_BUFFER_OFFSET_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 an offset is removed from the adapter, the offset and distance returned are GST_BUFFER_OFFSET_NONE and 0 respectively.
this |
a Adapter |
distance |
pointer to a location for distance, or |
The previous seen offset. |