auto-transition: fix setting of SET_SIMPLE flag
authorHenry Wilkes <hwilkes@igalia.com>
Tue, 10 Mar 2020 21:54:56 +0000 (21:54 +0000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 11 Mar 2020 17:35:07 +0000 (17:35 +0000)
Previously, the SET_SIMPLE flag was non unset for auto-transitions after
it had been set.

ges/ges-auto-transition.c

index 057267c..922b6c2 100644 (file)
@@ -95,7 +95,7 @@ neighbour_changed_cb (GESClip * clip, GParamSpec * arg G_GNUC_UNUSED,
   _set_start0 (GES_TIMELINE_ELEMENT (self->transition_clip),
       _START (self->next_source));
   _set_duration0 (GES_TIMELINE_ELEMENT (self->transition_clip), new_duration);
-  ELEMENT_SET_FLAG (self->transition_clip, GES_TIMELINE_ELEMENT_SET_SIMPLE);
+  ELEMENT_UNSET_FLAG (self->transition_clip, GES_TIMELINE_ELEMENT_SET_SIMPLE);
   self->positioning = FALSE;
 }