Caps.toString_

Converts caps to a string representation. This string representation can be converted back to a #GstCaps by gst.caps.Caps.fromString.

For debugging purposes its easier to do something like this:

GST_LOG ("caps are %" GST_PTR_FORMAT, caps);

This prints the caps in human readable form.

The implementation of serialization up to 1.20 would lead to unexpected results when there were nested #GstCaps / #GstStructure deeper than one level.

class Caps
string
toString_
()

Return Value

Type: string

a newly allocated string representing caps.