serialize


Description:

[ Version ( since = "1.20" ) ]
public string serialize (SerializeFlags flags)

Converts this to a human-readable string representation.

Note:

Use gst_structure_serialize_full instead.

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 BACKWARD_COMPAT is passed as flag.

gst_serialize_flag_strict flags is not allowed because it would make this function nullable which is an API break for bindings. Use gst_structure_serialize_full instead.

Free-function: g_free

Parameters:

this

a Structure

flags

The flags to use to serialize structure

Returns:

a pointer to string allocated by malloc. g_free after usage.