parse: Don't do delayed property setting for top-level properties.
authorJan Schmidt <jan@centricular.com>
Tue, 8 Jun 2021 16:35:00 +0000 (02:35 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 21 Jun 2021 07:32:27 +0000 (07:32 +0000)
commit7f293614881b051447c46529290b0db51e05b9ef
tree13a6c7382016631b91432abf33abef45e58169de
parent5230cab38d22b861fec54174c9285fb4c2f10cef
parse: Don't do delayed property setting for top-level properties.

If a property is supplied to gst-launch-1.0 to set on a property that
implements GstChildProxy, it would always accept any property name
and try to set it later. This means that (for example) decodebin
will accept and not complain about property names that can never exist like:

gst-launch-1.0 videotestsrc ! decodebin NON-EXISTING_PROPERTY=adsfdasf ! fakesink

Instead, only try to do deferred property setting for property names
that contain the :: separator that indicates it's a setting on a child
that might appear later.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/832>
gst/parse/grammar.y.in