container: Do not forget to initialize the timeline before using it
authorThibault Saunier <thibault.saunier@collabora.com>
Mon, 2 Sep 2013 17:57:15 +0000 (13:57 -0400)
committerThibault Saunier <thibault.saunier@collabora.com>
Mon, 2 Sep 2013 17:57:15 +0000 (13:57 -0400)
ges/ges-container.c

index ecf6a78..8edac89 100644 (file)
@@ -663,13 +663,13 @@ ges_container_group (GList * containers)
 {
   GList *tmp;
   guint n_children;
-  GESTimeline *timeline;
   GType *children_types;
   GESTimelineElement *element;
   GObjectClass *clip_class;
 
   guint i = 0;
   GESContainer *ret = NULL;
+  GESTimeline *timeline = NULL;
 
   if (containers) {
     element = GES_TIMELINE_ELEMENT (containers->data);