mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-22 07:50:37 +00:00
When using such a launch line: fakesrc ! "audio/x-opus, channel-mapping=(int)<0, 1>" ! fakesink the caps string, with spaces escaped but no quotes gets passed to gst_caps_from_string(), which then fails to parse the array because it contains spaces. When using an explicit capsfilter instead: fakesrc ! capsfilter caps="audio/x-opus, channel-mapping=(int)<0, 1>" ! fakesink the caps string, with spaces escaped and quotes gets passed through gst_value_deserialize, which first calls gst_str_unwrap() on it and only then gst_caps_from_string() on the result. This fixes the inconsistency by using a custom version of str_unwrap() in the parser, which doesn't expect a quoted string. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4181> |
||
---|---|---|
.. | ||
gen_grammar.py.in | ||
gen_lex.py.in | ||
get_flex_version.py | ||
grammar.y.in | ||
meson.build | ||
parse.l | ||
types.h |