summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAge Bosma <agebosma@gmail.com>2011-09-19 13:57:29 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-09-19 14:03:22 +0200
commit3f2ad30e9b2d1b3dc2d9c450f832fc2e050fe77b (patch)
tree156ecf7d1fd40175c8c70f530eb8791d897320e1
parent07e72eb3b49e0b8b74746b5481793c4bafc687af (diff)
Make sure gst_param_spec_... is parsed in addition to g_param_spec_... as well. E.g. for mini_object properties (gst_param_spec_mini_object)
-rwxr-xr-xparser/gapi2xml.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/parser/gapi2xml.pl b/parser/gapi2xml.pl
index 303af1f..a4900ae 100755
--- a/parser/gapi2xml.pl
+++ b/parser/gapi2xml.pl
@@ -958,9 +958,9 @@ sub addPropElem
{
my ($spec, $node, $is_child) = @_;
my ($name, $mode, $docs);
- $spec =~ /g_param_spec_(\w+)\s*\((.*)\s*\)\s*\)/;
- my $type = $1;
- my @params = split(/,/, $2);
+ $spec =~ /(g|gst)_param_spec_(\w+)\s*\((.*)\s*\)\s*\)/;
+ my $type = $2;
+ my @params = split(/,/, $3);
$name = $params[0];
if ($defines{$name}) {