summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2021-03-08 09:56:49 -0300
committerThibault Saunier <tsaunier@igalia.com>2021-03-08 09:58:50 -0300
commitcebdfad9feec79ba9c07fd51d76be09017c85ea9 (patch)
treea184a42f875496b04301f74fe4b61dcaa09dfda5
parent22528c4d96257b8e566e870177364cf47193a100 (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/232>
-rw-r--r--ges/ges-group.c2
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;