Structure.serialize

Converts structure to a human-readable string representation.

This version of the caps serialization function introduces support for nested structures and caps but the resulting strings won't be parsable with GStreamer prior to 1.20 unless #GST_SERIALIZE_FLAG_BACKWARD_COMPAT is passed as flag.

gst.types.SerializeFlags.Strict flags is not allowed because it would make this function nullable which is an API break for bindings. Use gst.structure.Structure.serializeFull instead.

Free-function: g_free

More...
class Structure
string
serialize

Parameters

flags gst.types.SerializeFlags

The flags to use to serialize structure

Return Value

Type: string

a pointer to string allocated by glib.global.gmalloc. glib.global.gfree after usage.

Detailed Description

Deprecated: Use gst.structure.Structure.serializeFull instead.