From 738524662b0de9c99c36fdd5e84563e8fe3c8991 Mon Sep 17 00:00:00 2001 From: Henry Wilkes Date: Fri, 15 May 2020 18:09:50 +0100 Subject: [PATCH] clip: test for layer in group Make sure the layer exists before we try to remove the grouped clips from it. Part-of: --- ges/ges-clip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ges/ges-clip.c b/ges/ges-clip.c index 2e1e80b24a..33f7c5fa6d 100644 --- a/ges/ges-clip.c +++ b/ges/ges-clip.c @@ -2083,7 +2083,8 @@ _group (GList * containers) * children */ _update_duration_limit (cclip); - ges_layer_remove_clip (layer, cclip); + if (layer) + ges_layer_remove_clip (layer, cclip); } /* Need to update the duration limit.