mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
element: Also accept GParamSpec.owner_type name as a child property prefix
Makes it simpler for python users to be able to retrieve children properties iterating over them.
This commit is contained in:
parent
66d65ed32f
commit
79e2bbac5d
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ _lookup_child (GESTimelineElement * self, const gchar * prop_name,
|
|||
ChildPropHandler *handler = (ChildPropHandler *) value;
|
||||
if (classename == NULL ||
|
||||
g_strcmp0 (G_OBJECT_TYPE_NAME (G_OBJECT (handler->child)),
|
||||
classename) == 0 ||
|
||||
g_strcmp0 (g_type_name (G_PARAM_SPEC (key)->owner_type),
|
||||
classename) == 0) {
|
||||
GST_DEBUG_OBJECT (self, "The %s property from %s has been found", name,
|
||||
classename);
|
||||
|
|
Loading…
Reference in a new issue