Gst.Query.prototype.parse_segment

function parse_segment():void {
    // Gjs wrapper for gst_query_parse_segment()
}

Parse a segment query answer. Any of rate, format, start_value, and stop_value may be NULL, which will cause this value to be omitted.

See Gst.set_segment for an explanation of the function arguments.