Cleanly handle removing the last object in a composition
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Tue, 3 Feb 2015 11:02:42 +0000 (12:02 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Tue, 3 Feb 2015 11:03:33 +0000 (12:03 +0100)
commit1bfe0b7ef32449f142dba215f7a85a815caa85d9
treea3fc9208a184616a887520b6a99ec75455e72756
parentf3f27bd63602a484bec04330d4a85949ad8b46ae
Cleanly handle removing the last object in a composition

The strategy here is to seek at the new end of the composition. And in
GES we always add a 1ns long gap at the end of the tracks so that all
track have the exact same duration, and we have black frames when the
timeline is empty
ges/ges-track.c
ges/nle/nlecomposition.c
tests/check/nle/common.c
tests/check/nle/nlecomposition.c