clip: Fix track element priority computation
authorThibault Saunier <tsaunier@gnome.org>
Tue, 30 Jun 2015 21:13:28 +0000 (23:13 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Wed, 1 Jul 2015 08:19:07 +0000 (10:19 +0200)
commitf7dbdd27babbb6dbf1379944221e25fb5a496bae
tree1e03f093b1c411c352b1b5006c715e48698e7f10
parent9669bafe46f68eef86ab25848a960425493aee19
clip: Fix track element priority computation

We were computing the priority offset taking the global MIN_NLE_PRIO
(which is a constant == 2 to make space for the mixing elements) instead
of the layer 'track element' relative priority, leading to very big
offsets on layer with a prio > 0. In the end it leaded to effects having
the same priority as the sources which leads to an undefined behaviour
in NLE.
ges/ges-clip.c