Skip to content

parse: do delayed set only if the target child was not found and fail otherwise

When using the child proxy notation (child::property=value) it may happen that the target child does not exist at the time of parsing (i.e: decodebin creates the encoder according to the contents of the stream). On this cases, we want to delay the setting of the property to later, when new elements are added. Previous logic performed a delayed set even if the target child was found but the property was not found in it. This should be treated as a failure because, unlike missing elements, properties should not appear dynamically. By not failing, typos in property names may go unnoticed to the end user.

Merge request reports