summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorRicardo Constantino (:RiCON) <wiiaboo@gmail.com>2016-09-02 17:34:12 +0100
committerwm4 <wm4@nowhere>2017-10-09 20:40:31 +0200
commitfa0b1f071aff39e6c430bbd97308148e60504a85 (patch)
tree963f325121e20afed71c2567a588db939ef2ef81 /player
parent49d64997ef2a7323fc61b0c48aa366bfa48e1e02 (diff)
downloadmpv-fa0b1f071aff39e6c430bbd97308148e60504a85.tar.bz2
mpv-fa0b1f071aff39e6c430bbd97308148e60504a85.tar.xz
stats: add new container-fps that deprecates fps
Diffstat (limited to 'player')
-rw-r--r--player/lua/stats.lua3
1 files changed, 2 insertions, 1 deletions
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