mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
timeline-element: return TRUE in _set_name when both names match.
This commit is contained in:
parent
f16ad15ef3
commit
12a2d96a34
1 changed files with 3 additions and 0 deletions
|
@ -996,6 +996,9 @@ ges_timeline_element_set_name (GESTimelineElement * self, const gchar * name)
|
|||
|
||||
g_return_val_if_fail (GES_IS_TIMELINE_ELEMENT (self), FALSE);
|
||||
|
||||
if (name != NULL && !g_strcmp0(name, self->name))
|
||||
return TRUE;
|
||||
|
||||
/* parented objects cannot be renamed */
|
||||
if (self->timeline != NULL) {
|
||||
GESTimelineElement *tmp = ges_timeline_get_element (self->timeline, name);
|
||||
|
|
Loading…
Reference in a new issue