summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-08-10 23:14:05 +0200
committerwm4 <wm4@nowhere>2017-10-09 20:40:31 +0200
commit47016bf45eb82c484a2d672229f5a1aaa94c2248 (patch)
treefb4c0e433dfd10cccfe3014368e66ea89b0c3a8c /player
parentf22361727edb84ad22f39d73fe1293f516267f39 (diff)
downloadmpv-47016bf45eb82c484a2d672229f5a1aaa94c2248.tar.bz2
mpv-47016bf45eb82c484a2d672229f5a1aaa94c2248.tar.xz
stats: add support for video-sync=display
Diffstat (limited to 'player')
-rw-r--r--player/lua/stats.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua
index f844d214f8..0869ac133b 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -112,6 +112,7 @@ function add_video(s)
append_property(s, sec, "avsync", {prefix="A-V:"})
if append_property(s, sec, "drop-frame-count", {prefix="Dropped:"}) then
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, "fps", {prefix="FPS:", suffix=" (specified)"}) then
append_property(s, sec, "estimated-vf-fps",
@@ -120,6 +121,10 @@ function add_video(s)
append_property(s, sec, "estimated-vf-fps",
{prefix="FPS:", suffix=" (estimated)"})
end
+ if append_property(s, sec, "video-speed-correction", {prefix="DS:"}) then
+ append_property(s, sec, "audio-speed-correction",
+ {prefix="/", nl="", indent=" ", prefix_sep=" ", no_prefix_markup=true})
+ end
if append_property(s, sec, "video-params/w", {prefix="Native Resolution:"}) then
append_property(s, sec, "video-params/h",
{prefix="x", nl="", indent=" ", prefix_sep=" ", no_prefix_markup=true})