Skip to content

value: fix parsing of explicit value casts

Mathieu Duponchelle requested to merge meh/gstreamer:parse-fix-cast into master

Since acdb4ce0 , parsing of the value for a property can use the pspec to determine what type a value should be casted to.

However, this broke the case where the value is explicitly casted to a type (eg <(float) 0.0>). In that situation, we want to respect the casting decision, and only use the pspec to perform "implicit" casts.

Fixes gst-plugins-base#881 (closed)

Edited by Mathieu Duponchelle

Merge request reports