timeline: Avoid setting duration > max_duration when rippling
authorThibault Saunier <thibault.saunier@collabora.com>
Sat, 7 Sep 2013 16:59:17 +0000 (12:59 -0400)
committerThibault Saunier <thibault.saunier@collabora.com>
Sat, 7 Sep 2013 16:59:17 +0000 (12:59 -0400)
commitc47c115dd11e1b91b7ccb54edc55affca7d3983e
treeab986d0fdc84e9e774cded4c4f9aafbbe933a8cc
parentc4c26f8748ce50036d351ddd78dd9377550d45ea
timeline: Avoid setting duration > max_duration when rippling

We should use the trimming method to set duration to make sure to avoid
going over the max duration.

Also avoid computing when setting duration to the same old value.
ges/ges-timeline.c