mirror of https://github.com/mpv-player/mpv
stats: only print graphs when ASS tags are good
This commit is contained in:
parent
4ee669e4db
commit
9b439e9453
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue