Structure.toString

Converts structure to a human-readable string representation.

For debugging purposes its easier to do something like this:

GST_LOG ("structure is %" GST_PTR_FORMAT, structure);

his prints the structure in human readable form.

The current implementation of serialization will lead to unexpected results when there are nested gstreamer.Caps / gstreamer.Structure deeper than one level.

Free-function: g_free

class Structure
override
string
toString
()

Return Value

Type: string

a pointer to string allocated by g_malloc(). g_free() after usage.