parse-launch: allow specifying GstElement properties via gst_parse_bin_from_description
authorStefan Kost <ensonic@users.sf.net>
Tue, 21 Apr 2009 08:33:43 +0000 (11:33 +0300)
committerStefan Kost <ensonic@users.sf.net>
Tue, 12 May 2009 15:31:19 +0000 (18:31 +0300)
commit5ce13775b89b294abc96df8a7588de6e2825929f
tree77a29420518feddf60d43950481fe19ef75bfb77
parent079c68fdf48a9a9f63b9fed35afaf45e8dc6c326
parse-launch: allow specifying GstElement properties via gst_parse_bin_from_description

If deserializing a property fails, check if the value type is a string and if so
attempt to create a bin from the string value. This allows to e.g. specify
audio-sink/video-sink for playbin on gst-launch commandline.
gst/parse/grammar.y