From fa0b1f071aff39e6c430bbd97308148e60504a85 Mon Sep 17 00:00:00 2001 From: "Ricardo Constantino (:RiCON)" Date: Fri, 2 Sep 2016 17:34:12 +0100 Subject: stats: add new container-fps that deprecates fps --- player/lua/stats.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'player') diff --git a/player/lua/stats.lua b/player/lua/stats.lua index 60ba62d3ce..db6d41fa90 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -336,7 +336,8 @@ local function add_video(s) append_property(s, "estimated-display-fps", {prefix="Display FPS:", suffix=" (estimated)"}) end - if append_property(s, "fps", {prefix="FPS:", suffix=" (specified)"}) then + if append_property(s, "container-fps", {prefix="FPS:", suffix=" (specified)"}) or + append_property(s, "fps", {prefix="FPS:", suffix=" (specified)"}) then append_property(s, "estimated-vf-fps", {suffix=" (estimated)", nl="", indent=""}) else -- cgit v1.2.3