mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 14:50:07 +00:00
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
|
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}
|
local max = {1, 1, 1}
|
||||||
for e = 1, plen do
|
for e = 1, plen do
|
||||||
if plast[1][e] and plast[1][e] > max[1] then max[1] = plast[1][e] end
|
if plast[1][e] and plast[1][e] > max[1] then max[1] = plast[1][e] end
|
||||||
|
Loading…
Reference in New Issue
Block a user