docs: go over design docs and fix things
[platform/upstream/gstreamer.git] / docs / design / part-caps.txt
1 Caps
2 ----
3
4 Caps are lighweight refcounted objects describing media types.
5 They are composed of an array of GstStructures.
6
7 Caps are exposed on GstPadTemplates to describe all possible types a
8 given pad can handle. They are also stored in the registry along with
9 a description of the element.
10
11 Caps are exposed on the element pads using the _get_caps() pad function.
12 This function describes the possible types that the pad can handle or
13 produce (see part-pads.txt and part-negotiation.txt).
14
15 Various methods exist to work with the media types such as substracting
16 or intersecting.
17