mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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)
This commit is contained in:
parent
07e72eb3b4
commit
3f2ad30e9b
1 changed files with 3 additions and 3 deletions
|
@ -958,9 +958,9 @@ sub addPropElem
|
||||||
{
|
{
|
||||||
my ($spec, $node, $is_child) = @_;
|
my ($spec, $node, $is_child) = @_;
|
||||||
my ($name, $mode, $docs);
|
my ($name, $mode, $docs);
|
||||||
$spec =~ /g_param_spec_(\w+)\s*\((.*)\s*\)\s*\)/;
|
$spec =~ /(g|gst)_param_spec_(\w+)\s*\((.*)\s*\)\s*\)/;
|
||||||
my $type = $1;
|
my $type = $2;
|
||||||
my @params = split(/,/, $2);
|
my @params = split(/,/, $3);
|
||||||
|
|
||||||
$name = $params[0];
|
$name = $params[0];
|
||||||
if ($defines{$name}) {
|
if ($defines{$name}) {
|
||||||
|
|
Loading…
Reference in a new issue