aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Julian <MyFakeAcc.4@googlemail.com>2017-07-26 13:00:40 +0200
committerGravatar wm4 <wm4@nowhere>2017-10-09 20:40:32 +0200
commit19b8dfbd2b3d8d1eac93948706ae6ac945a5a075 (patch)
treeb074cf53289a482bd42a0d0d3e68f5c23766d908
parent5c8e9e8072dd6cf810a771ac6790903b02839aa8 (diff)
stats: visually indicate direct rendering
-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 07bcc5bc4f..e86240ef65 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -317,8 +317,9 @@ local function append_perfdata(s, dedicated_page)
return format("{\\b%d}%02d%%{\\b0}", w, i * 100)
end
+ local title = "Frame Timings" .. (mp.get_property_bool("vd-lavc-dr", false) and " (DR):" or ":")
s[#s+1] = format("%s%s%s%s{\\fs%s}%s{\\fs%s}", dedicated_page and "" or o.nl, dedicated_page and "" or o.indent,
- b("Frame Timings:"), o.prefix_sep, o.font_size * 0.66,
+ b(title), o.prefix_sep, o.font_size * 0.66,
"(last/average/peak μs)", o.font_size)
for frame, data in pairs(vo_p) do