mirror of
https://github.com/mpv-player/mpv
synced 2025-03-31 07:51:55 +00:00
stats: reorganize the framedrop counters
Clarified the relationship between `Dropped` and `VO`, and also merged the DS-exclusive stats into the DS line.
This commit is contained in:
parent
1016ff34ea
commit
055fc5ced3
@ -372,6 +372,9 @@ local function append_display_sync(s)
|
|||||||
{prefix="DS:" .. o.prefix_sep .. " - / ", prefix_sep=""})
|
{prefix="DS:" .. o.prefix_sep .. " - / ", prefix_sep=""})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
append_property(s, "mistimed-frame-count", {prefix="Mistimed:", nl=""})
|
||||||
|
append_property(s, "vo-delayed-frame-count", {prefix="Delayed:", nl=""})
|
||||||
|
|
||||||
-- As we need to plot some graphs we print jitter and ratio on their own lines
|
-- As we need to plot some graphs we print jitter and ratio on their own lines
|
||||||
if toggle_timer:is_enabled() and (o.plot_vsync_ratio or o.plot_vsync_jitter) and o.use_ass then
|
if toggle_timer:is_enabled() and (o.plot_vsync_ratio or o.plot_vsync_jitter) and o.use_ass then
|
||||||
local ratio_graph = ""
|
local ratio_graph = ""
|
||||||
@ -426,10 +429,8 @@ local function add_video(s)
|
|||||||
{no=true, [""]=true})
|
{no=true, [""]=true})
|
||||||
end
|
end
|
||||||
append_property(s, "avsync", {prefix="A-V:"})
|
append_property(s, "avsync", {prefix="A-V:"})
|
||||||
if append_property(s, compat("decoder-frame-drop-count"), {prefix="Dropped:"}) then
|
if append_property(s, compat("decoder-frame-drop-count"), {prefix="Dropped Frames:", suffix=" (decoder)"}) then
|
||||||
append_property(s, compat("frame-drop-count"), {prefix="VO:", nl=""})
|
append_property(s, compat("frame-drop-count"), {suffix=" (output)", nl="", indent=""})
|
||||||
append_property(s, "mistimed-frame-count", {prefix="Mistimed:", nl=""})
|
|
||||||
append_property(s, "vo-delayed-frame-count", {prefix="Delayed:", nl=""})
|
|
||||||
end
|
end
|
||||||
if append_property(s, "display-fps", {prefix="Display FPS:", suffix=" (specified)"}) then
|
if append_property(s, "display-fps", {prefix="Display FPS:", suffix=" (specified)"}) then
|
||||||
append_property(s, "estimated-display-fps",
|
append_property(s, "estimated-display-fps",
|
||||||
|
Loading…
Reference in New Issue
Block a user