Gst.CapsFeatures.prototype.to_string

function to_string():String {
    // Gjs wrapper for gst_caps_features_to_string()
}

Converts features to a human-readable string representation.

For debugging purposes its easier to do something like this: |[ GST_LOG ("features is %" GST_PTR_FORMAT, features); ]| This prints the features in human readble form.

Free-function: g_free

Since 1.2

Returns

a pointer to string allocated by GLib.malloc. GLib.free after usage.