summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian <MyFakeAcc.4@googlemail.com>2016-07-17 18:46:59 +0900
committerwm4 <wm4@nowhere>2017-10-09 20:40:31 +0200
commit9b439e945368e4ea6c6666e7038872d5340a05f7 (patch)
treee38ccd414319aa6406dea1a772f39dd38ca64940
parent4ee669e4db8f026c26286c2ad9e463b2bd63c8c2 (diff)
downloadmpv-9b439e945368e4ea6c6666e7038872d5340a05f7.tar.bz2
mpv-9b439e945368e4ea6c6666e7038872d5340a05f7.tar.xz
stats: only print graphs when ASS tags are good
-rw-r--r--player/lua/stats.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua
index de1ecf9d77..1cc526b992 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -197,7 +197,7 @@ local function append_perfdata(s)
local rsuffix, psuffix, usuffix
- if o.plot_graphs and timer:is_enabled() then
+ if o.plot_graphs and o.ass_formatting and timer:is_enabled() then
local max = {1, 1, 1}
for e = 1, plen do
if plast[1][e] and plast[1][e] > max[1] then max[1] = plast[1][e] end