diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2015-11-25 17:52:32 -0800 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-09 20:40:31 +0200 |
commit | 41246c8a34164bd7bcbd0e2edde445f87fba482a (patch) | |
tree | 45f2db630fcbfa45567e02c746066aaf79ae25b7 | |
parent | 1a1e5b87fb743f24c4299aaed1a8420320b17aaa (diff) | |
download | mpv-41246c8a34164bd7bcbd0e2edde445f87fba482a.tar.bz2 mpv-41246c8a34164bd7bcbd0e2edde445f87fba482a.tar.xz |
stats: add display fps
-rw-r--r-- | player/lua/stats.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua index 2848c9caa6..4073661184 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -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=""}) |