mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
profiler: avoid negative times
This commit is contained in:
parent
a4a93a2a16
commit
64391f1ed5
1 changed files with 2 additions and 2 deletions
|
|
@ -230,8 +230,8 @@ static void dump_point(struct data *d, struct point *point)
|
|||
d4 > 0 ? d4 : 0,
|
||||
d5 > 0 ? d5 : 0,
|
||||
d6 > 0 ? d6 : 0,
|
||||
(d5 > 0 && d4 > 0) ? d5 - d4 : 0,
|
||||
(d6 > 0 && d5 > 0) ? d6 - d5 : 0,
|
||||
(d5 > 0 && d4 > 0 && d5 > d4) ? d5 - d4 : 0,
|
||||
(d6 > 0 && d5 > 0 && d6 > d5) ? d6 - d5 : 0,
|
||||
point->follower[i].status);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue