1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-22 11:18:32 +00:00

stats: add new versions of decoder and VO dropped frame counts

This commit is contained in:
Ricardo Constantino 2017-01-22 22:17:35 +00:00 committed by wm4
parent bd0d0befc0
commit 7429eace57

View File

@ -374,7 +374,11 @@ local function add_video(s)
{no=true, [""]=true})
end
append_property(s, "avsync", {prefix="A-V:"})
if append_property(s, "drop-frame-count", {prefix="Dropped:"}) then
if append_property(s, "decoder-frame-drop-count", {prefix="Dropped:"}) then
append_property(s, "frame-drop-count", {prefix="VO:", nl=""})
append_property(s, "mistimed-frame-count", {prefix="Mistimed:", nl=""})
append_property(s, "vo-delayed-frame-count", {prefix="Delayed:", nl=""})
elseif append_property(s, "drop-frame-count", {prefix="Dropped:"}) then
append_property(s, "vo-drop-frame-count", {prefix="VO:", nl=""})
append_property(s, "mistimed-frame-count", {prefix="Mistimed:", nl=""})
append_property(s, "vo-delayed-frame-count", {prefix="Delayed:", nl=""})