timeline: Emit snap-ended on commit if needed
authorThibault Saunier <tsaunier@gnome.org>
Sun, 24 Jul 2016 12:32:06 +0000 (08:32 -0400)
committerThibault Saunier <tsaunier@gnome.org>
Sun, 24 Jul 2016 12:42:30 +0000 (08:42 -0400)
Commiting the timeline means that the current operations on the clips are over,
so we should concider snapping as done at that point

Fixes T7499

ges/ges-timeline.c

index 236cc4a..716349d 100644 (file)
@@ -3406,6 +3406,8 @@ ges_timeline_commit (GESTimeline * timeline)
   LOCK_DYN (timeline);
   ret = ges_timeline_commit_unlocked (timeline);
   UNLOCK_DYN (timeline);
+
+  ges_timeline_emit_snappig (timeline, NULL, NULL);
   return ret;
 }