mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 21:36:35 +00:00
c94f6bf5bf
Original commit message from CVS: * docs/design/draft-push-pull.txt: * docs/design/part-MT-refcounting.txt: * docs/design/part-TODO.txt: * docs/design/part-caps.txt: * docs/design/part-events.txt: * docs/design/part-gstbus.txt: * docs/design/part-gstpipeline.txt: * docs/design/part-messages.txt: * docs/design/part-push-pull.txt: * docs/design/part-query.txt: Some more docs.
20 lines
674 B
Text
20 lines
674 B
Text
Caps
|
|
----
|
|
|
|
Caps are lighweight refcounted objects describing media types.
|
|
They are composed of an array of GstStructures.
|
|
|
|
Caps are exposed on GstPadTemplates to describe all possible types a
|
|
given pad can handle. They are also stored in the registry along with
|
|
a description of the element.
|
|
|
|
Caps are exposed on the element pads using the get_caps pad function.
|
|
This function describes the possible types that the pad can handle or
|
|
produce (see part-pads.txt and part-negotiation.txt).
|
|
|
|
Caps are also attached to buffers to describe to content of the data
|
|
pointed to be the buffer.
|
|
|
|
Various methods exist to work with the media types such as substracting
|
|
or intersecting.
|
|
|