gstreamer/gst/parse
Mathieu Duponchelle acdb4ce03d gstvalue: expose gst_value_deserialize_with_pspec()
Typing hints can only be passed to gst_value_deserialize()
through the type of the passed-in value. This means deserialization
can only target the desired type for the top-level elements,
making it for example impossible to deserialize an array of
flags to the expected type.

This commit exposes a new function, gst_value_deserialize_full(),
that takes an optional pspec as the extra parameter, and updates
the deserialization code to pass around that pspec, or the
element_spec when recursively parsing the elements of a list-type
value.

This allows for example passing arrays of flags through the
command line or gst_util_set_object_arg, eg:

foo="<bar,bar+baz>"

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/629>
2020-10-03 01:02:55 +02:00
..
gen_grammar.py.in Add support for Meson as alternative/parallel build system 2016-08-19 21:26:14 +01:00
gen_lex.py.in Add support for Meson as alternative/parallel build system 2016-08-19 21:26:14 +01:00
get_flex_version.py Make get_flex_version.py script executable 2019-05-01 15:46:56 +02:00
grammar.y.in gstvalue: expose gst_value_deserialize_with_pspec() 2020-10-03 01:02:55 +02:00
meson.build gst/parse: define pure-parser depending on bison version 2019-11-05 12:55:08 +01:00
parse.l parse: add support for presets 2019-12-28 04:02:16 +00:00
types.h gst: Simplify some boolean expressions 2018-07-24 09:58:31 +03:00