Segment.copy

Create a copy of given segment.

Free-function: gst_segment_free

Returns

a new #GstSegment, free with [gst.segment.Segment.free].