group: fix max layer priority
authorHenry Wilkes <hwilkes@igalia.com>
Mon, 24 Feb 2020 18:58:55 +0000 (18:58 +0000)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 5 Mar 2020 20:04:51 +0000 (17:04 -0300)
commit11d93367a91d832e1031d3c8c0cdccf2ddb89cd2
treeebea247af41b041c6613e7df68ac434660f5d9a8
parentf1d29e10e6948e1ae2dd99255cd36f6099271b1a
group: fix max layer priority

The maximum priority is `height - prio - 1`. Previously missing the -1.

Related to, but does not completely fix,
https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/91
ges/ges-group.c