mirror of https://github.com/mpv-player/mpv
stats: disable coloring peak performance data
The peak value is probably not very well suited to draw many conclusions from it.
This commit is contained in:
parent
0242165b3c
commit
6c7385c539
|
@ -185,7 +185,8 @@ local function append_perfdata(s)
|
|||
|
||||
local last_s = vo_p["render-last"] + vo_p["present-last"] + vo_p["upload-last"]
|
||||
local avg_s = vo_p["render-avg"] + vo_p["present-avg"] + vo_p["upload-avg"]
|
||||
local peak_s = vo_p["render-peak"] + vo_p["present-peak"] + vo_p["upload-peak"]
|
||||
--local peak_s = vo_p["render-peak"] + vo_p["present-peak"] + vo_p["upload-peak"]
|
||||
local peak_s = -math.huge
|
||||
|
||||
-- highlight i with a red border when t exceeds the time for one frame
|
||||
-- or yellow when it exceeds a given threshold
|
||||
|
|
Loading…
Reference in New Issue