Gst.Segment.prototype.set_running_time
function set_running_time(format:Gst.Format, running_time:Number):Boolean { // Gjs wrapper for gst_segment_set_running_time() }
Adjust the start/stop and base values of segment such that the next valid buffer will be one with running_time.
- format
the format of the segment.
- running_time
the running_time in the segment
- Returns
true if the segment could be updated successfully. If false is returned, running_time is -1 or not in segment.