mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
docs/design/part-context.txt: minor corrections
This commit is contained in:
parent
25257ccf58
commit
c4b558e0e3
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ queries, messages and functions to set a context on a complete pipeline.
|
||||||
|
|
||||||
Context types
|
Context types
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
Context type names should be unique and be put in appropiate namespaces,
|
Context type names should be unique and be put in appropriate namespaces,
|
||||||
to prevent name conflicts, e.g. "gst.egl.EGLDisplay". Only one specific
|
to prevent name conflicts, e.g. "gst.egl.EGLDisplay". Only one specific
|
||||||
type is allowed per context type name.
|
type is allowed per context type name.
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ Elements that need a specific context for their operation would
|
||||||
do the following steps until one succeeds:
|
do the following steps until one succeeds:
|
||||||
|
|
||||||
1) Check if the element already has a context of the specific type,
|
1) Check if the element already has a context of the specific type,
|
||||||
i.e. it was previoulsy set via gst_element_set_context().
|
i.e. it was previously set via gst_element_set_context().
|
||||||
|
|
||||||
2) Query downstream with GST_QUERY_CONTEXT for the context and check if
|
2) Query downstream with GST_QUERY_CONTEXT for the context and check if
|
||||||
downstream already has a context of the specific type
|
downstream already has a context of the specific type
|
||||||
|
|
Loading…
Reference in a new issue