gstreamer/tests/check
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
..
elements tests: leaks: Allow null tracer string if there's no available stack trace 2020-09-15 06:35:34 +09:00
generic Remove autotools build system 2019-10-13 16:10:42 +01:00
gst gstvalue: expose gst_value_deserialize_with_pspec() 2020-10-03 01:02:55 +02:00
libs baseparse: prefer upstream caps rather than overriding 2020-09-18 08:12:30 +00:00
pipelines tests: seek: Don't use too strict timeout for validation 2020-09-15 00:54:58 +09:00
tools tests: refactor tools check a little 2014-10-31 16:10:01 +00:00
gstreamer.supp tests: Add test for new live-objects leaktracer API 2019-07-02 15:13:26 +05:30
meson.build skip elements/leak.c if tracer is not available 2020-09-09 12:20:01 +00:00