summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <r.verdejo@partner.samsung.com>2013-10-14 18:24:18 -0700
committerReynaldo H. Verdejo Pinochet <r.verdejo@partner.samsung.com>2013-10-22 13:41:05 -0700
commit2ea46790bf88ba5ba0c2d3acf29a2007b6786e10 (patch)
tree68ba525b04da4477e48fbc427bb34c70593d5201
parent04ae785383df1742fe348f5c56bc76307a054b59 (diff)
docs: Gram and nit fixes for part-context.txt
-rw-r--r--docs/design/part-context.txt15
1 files changed, 7 insertions, 8 deletions
diff --git a/docs/design/part-context.txt b/docs/design/part-context.txt
index ed071292e..02b2d91b4 100644
--- a/docs/design/part-context.txt
+++ b/docs/design/part-context.txt
@@ -15,7 +15,7 @@ queries, messages and functions to set a context on a complete pipeline.
Context types
~~~~~~~~~~~~~
Context type names should be unique and be put in appropiate namespaces,
-e.g. "gst.egl.EGLDisplay", go prevent name conflicts. Only one specific
+to prevent name conflicts, e.g. "gst.egl.EGLDisplay". Only one specific
type is allowed per context type name.
@@ -42,9 +42,9 @@ do the following steps until one succeeds:
on the bus.
-Bins will propagate any context that is set on them via
-gst_element_set_context() to their child elements, including newly added
-elements after the context was set.
+Bins will propagate any context that is set on them to their child elements via
+gst_element_set_context(). Even to elements added after a given context has
+been set.
Bins can handle the GST_MESSAGE_NEED_CONTEXT message, can filter both
messages and can also set different contexts for different pipeline parts.
@@ -57,10 +57,9 @@ a pipeline with gst_element_set_context().
If an element inside the pipeline needs a specific context, it will post
a GST_MESSAGE_NEED_CONTEXT message on the bus. The application can now
-create a context of the requested type or pass an already existing
-context to the element (or the complete pipeline).
+create a context of the requested type or pass an already existing context
+to the element (or to the complete pipeline).
Whenever an element creates a context internally it will post a
GST_MESSAGE_HAVE_CONTEXT message on the bus. Bins will cache these
-contexts and pass them to any future elements that request them.
-
+contexts and pass them to any future elements that requests them.