mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
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:
parent
2dd400b885
commit
4106ad4ae6
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue