summaryrefslogtreecommitdiff
path: root/docs/design/part-synchronisation.txt
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-11-01 15:32:43 +0200
committerStefan Kost <ensonic@users.sf.net>2010-12-03 09:50:31 +0200
commit16ce2d4ea47f48b25c83ef6c8df81b01a986326c (patch)
tree641d17da8121cf416376953bd96b7fb24f763127 /docs/design/part-synchronisation.txt
parent1c50dcd54fb1cd07988b5d928bea9840f80a603c (diff)
design-docs: add html output using asciidoc
Unify the ad-hoc markup to be asciidoc style in many places. Add a "html" target to Makefile to generate the output.
Diffstat (limited to 'docs/design/part-synchronisation.txt')
-rw-r--r--docs/design/part-synchronisation.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/design/part-synchronisation.txt b/docs/design/part-synchronisation.txt
index 54e250508b..2c3185b54e 100644
--- a/docs/design/part-synchronisation.txt
+++ b/docs/design/part-synchronisation.txt
@@ -12,7 +12,7 @@ Synchronisation in a GstPipeline is achieved using the following 3 components:
A GstClock
-----------
+~~~~~~~~~~
This object provides a counter that represents the current time in nanoseconds.
This value is called the absolute_time.
@@ -33,7 +33,7 @@ A GstClock always counts time upwards and does not necessarily start at 0.
Running time
-------------
+~~~~~~~~~~~~
After a pipeline selected a clock it will maintain the running_time based on the
selected clock. This running_time represents the total time spent in the PLAYING
@@ -66,7 +66,7 @@ This value is monotonically increasing at the rate of the clock.
Timestamps
-----------
+~~~~~~~~~~
The GstBuffer timestamps and the preceeding NEW_SEGMENT event (See
part-streams.txt) define a transformation of the buffer timestamps to
@@ -112,7 +112,7 @@ NS.stop and NS.accum == 0).
Synchronisation
----------------
+~~~~~~~~~~~~~~~
As we have seen, we can get a running_time:
@@ -161,7 +161,7 @@ synchronized buffers have the same timestamps.
Stream time
------------
+~~~~~~~~~~~
The stream time is also known as the position in the stream and is a value
between 0 and the total duration of the media file.