mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 20:12:28 +00:00
ges: Fix 'comparison of unsigned expression < 0 is always false'
This commit is contained in:
parent
7c80521e0b
commit
70fda7d45d
1 changed files with 1 additions and 2 deletions
|
@ -1566,8 +1566,7 @@ track_object_priority_changed_cb (GESTrackObject * child,
|
|||
} else if (tck_priority < layer_min_gnl_prio + object->priority) {
|
||||
/* Or update the parent priority, the object priority is always the
|
||||
* highest priority (smaller number) */
|
||||
if (tck_priority - layer_min_gnl_prio < 0 ||
|
||||
layer_max_gnl_prio - tck_priority < 0) {
|
||||
if (tck_priority < layer_min_gnl_prio || layer_max_gnl_prio < tck_priority) {
|
||||
|
||||
GST_WARNING ("%p priority of %i, is outside of its containing "
|
||||
"layer space. (%d/%d). This is a bug in the program.", object,
|
||||
|
|
Loading…
Reference in a new issue