Capabilities, or caps, are a mechanism to describe the data that can flow or currently flows through a pad. They are a structure describing media types.
Returns #t if v is a cap describing media types, #f otherwise.
Convert caps from a string representation. Returns #f if caps could not be converted from str.
Convert caps to a string representation.
Appends the structure contained in caps2 to caps1. The structures in caps2 are not copied —
they are transferred and caps1 is mutated.
Returns #t if caps represents any media format, #f otherwise.
Returns #t if caps represents no media formats, #f otherwise.
Returns #t if caps is fixed, #f otherwise. Fixed caps describe exactly one format.
Returns #t if caps1 and caps2 represent the same set of caps, #f otherwise.