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>
{
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;