mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
clip: test for layer in group
Make sure the layer exists before we try to remove the grouped clips from it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/177>
This commit is contained in:
parent
34719efa17
commit
738524662b
1 changed files with 2 additions and 1 deletions
|
@ -2083,7 +2083,8 @@ _group (GList * containers)
|
||||||
* children */
|
* children */
|
||||||
_update_duration_limit (cclip);
|
_update_duration_limit (cclip);
|
||||||
|
|
||||||
ges_layer_remove_clip (layer, cclip);
|
if (layer)
|
||||||
|
ges_layer_remove_clip (layer, cclip);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Need to update the duration limit.
|
/* Need to update the duration limit.
|
||||||
|
|
Loading…
Reference in a new issue