diff --git a/girs/Gst-1.0.gir b/girs/Gst-1.0.gir index 52748beb10..743ef5d9b4 100644 --- a/girs/Gst-1.0.gir +++ b/girs/Gst-1.0.gir @@ -41356,14 +41356,14 @@ values are explicitly typed. Some types have special delimiters: -- [GstValueArray](GST_TYPE_ARRAY) are inside curly brackets (`{` and `}`). - For example `a-structure, array={1, 2, 3}` +- [GstValueArray](GST_TYPE_ARRAY) are inside "less and greater than" (`<` and + `>`). For example `a-structure, array=<1, 2, 3> - Ranges are inside brackets (`[` and `]`). For example `a-structure, range=[1, 6, 2]` 1 being the min value, 6 the maximum and 2 the step. To specify a #GST_TYPE_INT64_RANGE you need to explicitly specify it like: `a-structure, a-int64-range=(gint64) [1, 5]` -- [GstValueList](GST_TYPE_LIST) are inside "less and greater than" (`<` and - `>`). For example `a-structure, list=<1, 2, 3> +- [GstValueList](GST_TYPE_LIST) are inside curly brackets (`{` and `}`). + For example `a-structure, list={1, 2, 3}` Structures are delimited either by a null character `\0` or a semicolon `;` the latter allowing to store multiple structures in the same string (see diff --git a/subprojects/gstreamer/gst/gststructure.c b/subprojects/gstreamer/gst/gststructure.c index 5a2957efec..e74db51af8 100644 --- a/subprojects/gstreamer/gst/gststructure.c +++ b/subprojects/gstreamer/gst/gststructure.c @@ -90,14 +90,14 @@ * * Some types have special delimiters: * - * - [GstValueArray](GST_TYPE_ARRAY) are inside curly brackets (`{` and `}`). - * For example `a-structure, array={1, 2, 3}` + * - [GstValueArray](GST_TYPE_ARRAY) are inside "less and greater than" (`<` and + * `>`). For example `a-structure, array=<1, 2, 3> * - Ranges are inside brackets (`[` and `]`). For example `a-structure, * range=[1, 6, 2]` 1 being the min value, 6 the maximum and 2 the step. To * specify a #GST_TYPE_INT64_RANGE you need to explicitly specify it like: * `a-structure, a-int64-range=(gint64) [1, 5]` - * - [GstValueList](GST_TYPE_LIST) are inside "less and greater than" (`<` and - * `>`). For example `a-structure, list=<1, 2, 3> + * - [GstValueList](GST_TYPE_LIST) are inside curly brackets (`{` and `}`). + * For example `a-structure, list={1, 2, 3}` * * Structures are delimited either by a null character `\0` or a semicolon `;` * the latter allowing to store multiple structures in the same string (see