mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-14 12:26:36 +00:00
acdb4ce03d
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> |
||
---|---|---|
.. | ||
gen_grammar.py.in | ||
gen_lex.py.in | ||
get_flex_version.py | ||
grammar.y.in | ||
meson.build | ||
parse.l | ||
types.h |