1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-29 15:00:27 +00:00

stats: add display fps

This commit is contained in:
Kevin Mitchell 2015-11-25 17:52:32 -08:00 committed by wm4
parent 1a1e5b87fb
commit 41246c8a34

View File

@ -114,6 +114,13 @@ function add_video(s)
append_property(s, sec, "vo-drop-frame-count", {prefix="VO:", nl=""})
append_property(s, sec, "vo-missed-frame-count", {prefix="Missed:", nl=""})
end
if append_property(s, sec, "display-fps", {prefix="Display FPS:", suffix=" (specified)"}) then
append_property(s, sec, "estimated-display-fps",
{suffix=" (estimated)", nl="", indent=""})
else
append_property(s, sec, "estimated-display-fps",
{prefix="Display FPS:", suffix=" (estimated)"})
end
if append_property(s, sec, "fps", {prefix="FPS:", suffix=" (specified)"}) then
append_property(s, sec, "estimated-vf-fps",
{suffix=" (estimated)", nl="", indent=""})