Segment.position

Get position field.

  1. ulong position [@property getter]
    class Segment
    @property
    ulong
    position
    ()
  2. ulong position [@property setter]

Return Value

Type: ulong

the buffer timestamp position in the segment is supposed to be updated by elements such as sources, demuxers or parsers to track progress by setting it to the last pushed buffer' end time (timestamp + #GstBuffer.duration) for that specific segment. The position is used when reconfiguring the segment with #gst_segment_do_seek when the seek is only updating the segment (see offset).