clip: be more robust in handling priority
authorHenry Wilkes <hwilkes@igalia.com>
Thu, 30 Apr 2020 10:50:08 +0000 (11:50 +0100)
committerHenry Wilkes <hwilkes@igalia.com>
Thu, 7 May 2020 08:37:15 +0000 (09:37 +0100)
commit5159d367e200f0364c5a6e076c992680abb0464f
tree358c9a0484cbca03b4237efe6804270d1d613bc4
parent52c22efea625753f1577573ce00631d0249d6320
clip: be more robust in handling priority

Make less assumptions about the priority of effects and core elements so
that the code would still work if the priority of an element was set
directly. In particular, the index of a top effect will always be its
position in the effect ordering.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/169>
ges/ges-clip.c