diff --git a/girs/Gst-1.0.gir b/girs/Gst-1.0.gir index b06b4c72db..949027a276 100644 --- a/girs/Gst-1.0.gir +++ b/girs/Gst-1.0.gir @@ -41180,7 +41180,7 @@ a-struct, nested=[nested-struct, nested=true] ``` > *note*: gst_structure_to_string() won't use that syntax for backward -> compatibility reason, gst_structure_serialize() has been added for +> compatibility reason, gst_structure_serialize_full() has been added for > that purpose. @@ -42630,7 +42630,7 @@ argument is ignored. - + Converts @structure to a human-readable string representation. This version of the caps serialization function introduces support for nested @@ -42638,10 +42638,35 @@ 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_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 + Use gst_structure_serialize_full() instead. a pointer to string allocated by g_malloc(). + g_free() after usage. + + + + + a #GstStructure + + + + The flags to use to serialize structure + + + + + + Alias for gst_structure_serialize() but with nullable annotation because it +can return %NULL when %GST_SERIALIZE_FLAG_STRICT flag is set. + + + a pointer to string allocated by g_malloc(). g_free() after usage. @@ -42845,7 +42870,7 @@ This prints the structure in human readable form. This function will lead to unexpected results when there are nested #GstCaps / #GstStructure deeper than one level, you should user -gst_structure_serialize() instead for those cases. +gst_structure_serialize_full() instead for those cases. Free-function: g_free