Caps.toString

Converts @caps to a string representation. This string representation can be converted back to a #GstCaps by gst_caps_from_string().

For debugging purposes its easier to do something like this: |[<!-- language="C" --> GST_LOG ("caps are %" GST_PTR_FORMAT, caps); ]| This prints the caps in human readable form.

The current implementation of serialization will lead to unexpected results when there are nested #GstCaps / #GstStructure deeper than one level.

class Caps
override
string
toString
()

Return Value

Type: string

a newly allocated string representing @caps.

Meta