diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2021-03-08 09:56:49 -0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-03-08 14:18:43 +0000 |
commit | ea36efc7676605719b698fd9426df3c381837d8d (patch) | |
tree | e224bf8a89e6e29160c2396e9fbf82d207ebbe65 | |
parent | f740d1910cb99a499afe6d739bc3296b87d25968 (diff) |
group: Use proper group constructor
Otherwise we might en up having a group which is not backed by any asset
leading to possible assertion as this should never happen (see
https://gitlab.gnome.org/GNOME/pitivi/-/issues/2526)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/233>
-rw-r--r-- | ges/ges-group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ges/ges-group.c b/ges/ges-group.c index 482be300..0685170e 100644 --- a/ges/ges-group.c +++ b/ges/ges-group.c @@ -457,7 +457,7 @@ _group (GList * containers) { GList *tmp; GESTimeline *timeline = NULL; - GESContainer *ret = g_object_new (GES_TYPE_GROUP, NULL); + GESContainer *ret = GES_CONTAINER (ges_group_new ()); if (!containers) return ret; |