summaryrefslogtreecommitdiff
path: root/docs/design/part-events.txt
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-05-08 09:52:33 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-05-08 09:52:33 +0000
commitb9dbb551050354dd2426e66a4a3ec3f1792807c1 (patch)
treee3cb164246d9c3f2b935689de39070f5a9559c23 /docs/design/part-events.txt
parent029c8d820b82a41f0bb27e4ceb56043dc7357ded (diff)
docs/design/part-overview.txt: Make upsteam/downstream concepts more clear.
Original commit message from CVS: * docs/design/part-overview.txt: Make upsteam/downstream concepts more clear. Give an example of serialized/non-serialized events. * docs/design/part-events.txt: * docs/design/part-streams.txt: Mention applied_rate. * docs/design/part-trickmodes.txt: Mention applied rate, flesh out some more use cases. * gst/gstevent.c: (gst_event_new_new_segment), (gst_event_parse_new_segment), (gst_event_new_new_segment_full), (gst_event_parse_new_segment_full), (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_buffer_size), (gst_event_parse_buffer_size), (gst_event_new_qos), (gst_event_parse_qos), (gst_event_parse_seek), (gst_event_new_navigation): * gst/gstevent.h: Add applied_rate field to NEWSEGMENT event. API: gst_event_new_new_segment_full() API: gst_event_parse_new_segment_full() * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek), (gst_segment_set_newsegment), (gst_segment_set_newsegment_full), (gst_segment_to_stream_time), (gst_segment_to_running_time): * gst/gstsegment.h: Add applied_rate to GstSegment structure. Make calculation of stream_time and running_time more correct wrt rate/applied_rate. Add some more docs. API: GstSegment::applied_rate field API: gst_segment_set_newsegment_full(); * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment), (gst_base_sink_get_sync_times), (gst_base_sink_get_position): * libs/gst/base/gstbasetransform.c: (gst_base_transform_sink_eventfunc), (gst_base_transform_handle_buffer): Parse and use applied_rate in the GstSegment field. * tests/check/gst/gstevent.c: (GST_START_TEST): Add check for applied_rate field. * tests/check/gst/gstsegment.c: (GST_START_TEST), (gstsegments_suite): Add more checks for various GstSegment operations.
Diffstat (limited to 'docs/design/part-events.txt')
-rw-r--r--docs/design/part-events.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/design/part-events.txt b/docs/design/part-events.txt
index 33f1a56611..00e7fb8a73 100644
--- a/docs/design/part-events.txt
+++ b/docs/design/part-events.txt
@@ -101,7 +101,7 @@ NEWSEGMENT
A newsegment event is sent downstream by an element to indicate that the following
group of buffers start and end at the specified positions. The newsegment event
-also contains the playback speed of the stream.
+also contains the playback speed and the applied rate of the stream.
Since the stream time is always set to 0 at start and after a seek, a 0
point for all next buffer's timestamps has to be propagated through the
@@ -134,6 +134,7 @@ streamtime of the pipeline will not be reset to 0 so any element that syncs
to the clock must use the stop times of the previous newsegment events to
make the buffer timestamps increasing (part-segments.txt).
+
TAG
---