mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
segment: Rewording of struct field descriptions
The new wording makes it easier to understand exactly what each field of the GstSegment struct represents.
This commit is contained in:
parent
a3513d6e97
commit
60130eb5f0
2 changed files with 11 additions and 10 deletions
|
@ -87,7 +87,7 @@ The following notation is used:
|
||||||
timestamp.
|
timestamp.
|
||||||
- S.stop: stop field in the SEGMENT event. This is the highers allowed
|
- S.stop: stop field in the SEGMENT event. This is the highers allowed
|
||||||
timestamp.
|
timestamp.
|
||||||
- S.rate: rate field of SEGMENT event. This is the desired playback rate.
|
- S.rate: rate field of SEGMENT event. This is the playback rate.
|
||||||
- S.base: a base time for the time. This is the total elapsed running_time of any
|
- S.base: a base time for the time. This is the total elapsed running_time of any
|
||||||
previous segments.
|
previous segments.
|
||||||
- S.offset: an offset to apply to S.start or S.stop. This is the amount that
|
- S.offset: an offset to apply to S.start or S.stop. This is the amount that
|
||||||
|
@ -185,7 +185,7 @@ It is the stream time that is used for:
|
||||||
Additional fields in the SEGMENT are used:
|
Additional fields in the SEGMENT are used:
|
||||||
|
|
||||||
- S.time: time field in the SEGMENT event. This the stream-time of S.start
|
- S.time: time field in the SEGMENT event. This the stream-time of S.start
|
||||||
- S.applied_rate: The rate already applied to the stream.
|
- S.applied_rate: The rate already applied to the segment.
|
||||||
|
|
||||||
Stream time is calculated using the buffer times and the preceding SEGMENT
|
Stream time is calculated using the buffer times and the preceding SEGMENT
|
||||||
event as follows:
|
event as follows:
|
||||||
|
|
|
@ -172,16 +172,17 @@ typedef enum { /*< flags >*/
|
||||||
/**
|
/**
|
||||||
* GstSegment:
|
* GstSegment:
|
||||||
* @flags: flags for this segment
|
* @flags: flags for this segment
|
||||||
* @rate: the rate of the segment
|
* @rate: the playback rate of the segment
|
||||||
* @applied_rate: the already applied rate to the segment
|
* @applied_rate: the already applied rate to the segment
|
||||||
* @format: the format of the segment values
|
* @format: the format of the segment values
|
||||||
* @base: the base of the segment
|
* @base: the running time (plus elapsed time, see offset) of the segment start
|
||||||
* @offset: the offset to apply to @start or @stop
|
* @offset: the amount (in buffer timestamps) that has already been elapsed in
|
||||||
* @start: the start of the segment
|
* the segment
|
||||||
* @stop: the stop of the segment
|
* @start: the start of the segment in buffer timestamp time (PTS)
|
||||||
* @time: the stream time of the segment
|
* @stop: the stop of the segment in buffer timestamp time (PTS)
|
||||||
* @position: the position in the segment (used internally by elements
|
* @time: the stream time of the segment start
|
||||||
* such as sources, demuxers or parsers to track progress)
|
* @position: the buffer timestamp position in the segment (used internally by
|
||||||
|
* elements such as sources, demuxers or parsers to track progress)
|
||||||
* @duration: the duration of the segment
|
* @duration: the duration of the segment
|
||||||
*
|
*
|
||||||
* A helper structure that holds the configured region of
|
* A helper structure that holds the configured region of
|
||||||
|
|
Loading…
Reference in a new issue