timeline: Emit snap-ended on commit if needed

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
This commit is contained in:
Thibault Saunier 2016-07-24 08:32:06 -04:00
parent 91ecce1d05
commit 6762b05c19

View 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;
}