diff options
author | Niklas Haas <git@haasn.xyz> | 2017-08-12 14:08:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-09 20:40:32 +0200 |
commit | 055fc5ced321c49689fade3ec464a2aa2f946467 (patch) | |
tree | a54b9406c7461fb479ec4cd3164c50719d831ea7 /player/lua | |
parent | 1016ff34ea12797ebb1c0f2d3664f33813a4d4f6 (diff) | |
download | mpv-055fc5ced321c49689fade3ec464a2aa2f946467.tar.bz2 mpv-055fc5ced321c49689fade3ec464a2aa2f946467.tar.xz |
stats: reorganize the framedrop counters
Clarified the relationship between `Dropped` and `VO`, and also merged
the DS-exclusive stats into the DS line.
Diffstat (limited to 'player/lua')
-rw-r--r-- | player/lua/stats.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua index cbc30ba4c5..0550487463 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -372,6 +372,9 @@ local function append_display_sync(s) {prefix="DS:" .. o.prefix_sep .. " - / ", prefix_sep=""}) end + append_property(s, "mistimed-frame-count", {prefix="Mistimed:", nl=""}) + append_property(s, "vo-delayed-frame-count", {prefix="Delayed:", nl=""}) + -- As we need to plot some graphs we print jitter and ratio on their own lines if toggle_timer:is_enabled() and (o.plot_vsync_ratio or o.plot_vsync_jitter) and o.use_ass then local ratio_graph = "" @@ -426,10 +429,8 @@ local function add_video(s) {no=true, [""]=true}) end append_property(s, "avsync", {prefix="A-V:"}) - if append_property(s, compat("decoder-frame-drop-count"), {prefix="Dropped:"}) then - append_property(s, compat("frame-drop-count"), {prefix="VO:", nl=""}) - append_property(s, "mistimed-frame-count", {prefix="Mistimed:", nl=""}) - append_property(s, "vo-delayed-frame-count", {prefix="Delayed:", nl=""}) + if append_property(s, compat("decoder-frame-drop-count"), {prefix="Dropped Frames:", suffix=" (decoder)"}) then + append_property(s, compat("frame-drop-count"), {suffix=" (output)", nl="", indent=""}) end if append_property(s, "display-fps", {prefix="Display FPS:", suffix=" (specified)"}) then append_property(s, "estimated-display-fps", |