mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +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> |
||
---|---|---|
.. | ||
elements | ||
generic | ||
gst | ||
libs | ||
pipelines | ||
tools | ||
gstreamer.supp | ||
meson.build |