doc: correct delimiters documentation

- "<>" are delimiters for GST_TYPE_ARRAY and "{}" are delimiters for
  GST_TYPE_LIST.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7419>
This commit is contained in:
Daniel Morin 2024-08-27 14:50:56 -04:00 committed by GStreamer Marge Bot
parent 2dd400b885
commit 4106ad4ae6
2 changed files with 8 additions and 8 deletions

View file

@ -41356,14 +41356,14 @@ values are explicitly typed.
Some types have special delimiters: Some types have special delimiters:
- [GstValueArray](GST_TYPE_ARRAY) are inside curly brackets (`{` and `}`). - [GstValueArray](GST_TYPE_ARRAY) are inside "less and greater than" (`&lt;` and
For example `a-structure, array={1, 2, 3}` `&gt;`). For example `a-structure, array=&lt;1, 2, 3&gt;
- Ranges are inside brackets (`[` and `]`). For example `a-structure, - 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 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: specify a #GST_TYPE_INT64_RANGE you need to explicitly specify it like:
`a-structure, a-int64-range=(gint64) [1, 5]` `a-structure, a-int64-range=(gint64) [1, 5]`
- [GstValueList](GST_TYPE_LIST) are inside "less and greater than" (`&lt;` and - [GstValueList](GST_TYPE_LIST) are inside curly brackets (`{` and `}`).
`&gt;`). For example `a-structure, list=&lt;1, 2, 3&gt; For example `a-structure, list={1, 2, 3}`
Structures are delimited either by a null character `\0` or a semicolon `;` Structures are delimited either by a null character `\0` or a semicolon `;`
the latter allowing to store multiple structures in the same string (see the latter allowing to store multiple structures in the same string (see

View file

@ -90,14 +90,14 @@
* *
* Some types have special delimiters: * Some types have special delimiters:
* *
* - [GstValueArray](GST_TYPE_ARRAY) are inside curly brackets (`{` and `}`). * - [GstValueArray](GST_TYPE_ARRAY) are inside "less and greater than" (`<` and
* For example `a-structure, array={1, 2, 3}` * `>`). For example `a-structure, array=<1, 2, 3>
* - Ranges are inside brackets (`[` and `]`). For example `a-structure, * - 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 * 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: * specify a #GST_TYPE_INT64_RANGE you need to explicitly specify it like:
* `a-structure, a-int64-range=(gint64) [1, 5]` * `a-structure, a-int64-range=(gint64) [1, 5]`
* - [GstValueList](GST_TYPE_LIST) are inside "less and greater than" (`<` and * - [GstValueList](GST_TYPE_LIST) are inside curly brackets (`{` and `}`).
* `>`). For example `a-structure, list=<1, 2, 3> * For example `a-structure, list={1, 2, 3}`
* *
* Structures are delimited either by a null character `\0` or a semicolon `;` * Structures are delimited either by a null character `\0` or a semicolon `;`
* the latter allowing to store multiple structures in the same string (see * the latter allowing to store multiple structures in the same string (see