summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorJulian <MyFakeAcc.4@googlemail.com>2016-07-29 02:47:34 +0900
committerwm4 <wm4@nowhere>2017-10-09 20:40:31 +0200
commit6c7385c539c1d3a48315dc2370273526befde3a5 (patch)
tree99fc755b1f22f290ad97282b5952fe6d8e34d6dd /player
parent0242165b3c756bcb0cf39c0e27235d5be1d71ae0 (diff)
downloadmpv-6c7385c539c1d3a48315dc2370273526befde3a5.tar.bz2
mpv-6c7385c539c1d3a48315dc2370273526befde3a5.tar.xz
stats: disable coloring peak performance data
The peak value is probably not very well suited to draw many conclusions from it.
Diffstat (limited to 'player')
-rw-r--r--player/lua/stats.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua
index 8a88da8831..579cb67dfd 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -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