summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2013-02-26 15:32:25 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2013-02-26 15:32:25 +0100
commitd7f15f542a2481b7c13ce3de459cf84f0f6b121f (patch)
tree8f6241c51f9dfb2ad4f0d9043bcdce50f795d8a3 /docs
parentf37fc1d2992963b5948c74890c79e006b96c87a2 (diff)
use GST_MESSAGE_DURATION_CHANGED in docs and code
Diffstat (limited to 'docs')
-rw-r--r--docs/design/part-gstbin.txt11
-rw-r--r--docs/design/part-messages.txt2
2 files changed, 7 insertions, 6 deletions
diff --git a/docs/design/part-gstbin.txt b/docs/design/part-gstbin.txt
index bf486f86d..a262a9bde 100644
--- a/docs/design/part-gstbin.txt
+++ b/docs/design/part-gstbin.txt
@@ -95,11 +95,12 @@ returned durations and will then cache the result so that any further query can
use the cached version. The reason for caching the result is because the
duration of a stream typically does not change that often.
-A GST_MESSAGE_DURATION posted by an element will clear the cached duration value
-so that the bin will query the sinks again. This message is typically posted by
-elements that calculate the duration of the stream based on some average
-bitrate, which might change while playing the stream. The DURATION message is
-posted to the application, which can then fetch the updated DURATION.
+A GST_MESSAGE_DURATION_CHANGED posted by an element will clear the cached
+duration value so that the bin will query the sinks again. This message is
+typically posted by elements that calculate the duration of the stream based
+on some average bitrate, which might change while playing the stream. The
+DURATION_CHANGED message is posted to the application, which can then fetch
+the updated DURATION.
Subclassing
diff --git a/docs/design/part-messages.txt b/docs/design/part-messages.txt
index 6e23d5b59..171cdabef 100644
--- a/docs/design/part-messages.txt
+++ b/docs/design/part-messages.txt
@@ -110,7 +110,7 @@ GST_MESSAGE_SEGMENT_DONE:
An element or bin completed playback of a segment. This message is only posted
on the bus if a SEGMENT seek is performed on a pipeline.
-GST_MESSAGE_DURATION:
+GST_MESSAGE_DURATION_CHANGED:
An element posts this message when it has detected or updated the stream duration.