mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
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>
This commit is contained in:
parent
22528c4d96
commit
cebdfad9fe
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue