Commit 73852466 authored by Henry Wilkes's avatar Henry Wilkes

clip: test for layer in group

Make sure the layer exists before we try to remove the grouped clips
from it.

Part-of: <!177>
parent 34719efa
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment