summaryrefslogtreecommitdiff
path: root/docs/design/part-gstbin.txt
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/design/part-gstbin.txt
parentf37fc1d2992963b5948c74890c79e006b96c87a2 (diff)
use GST_MESSAGE_DURATION_CHANGED in docs and code
Diffstat (limited to 'docs/design/part-gstbin.txt')
-rw-r--r--docs/design/part-gstbin.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/design/part-gstbin.txt b/docs/design/part-gstbin.txt
index bf486f86db..a262a9bdee 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