summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
Diffstat (limited to 'player')
-rw-r--r--player/command.c1
-rw-r--r--player/lua/stats.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index ac49157aee..ff1e10bdfe 100644
--- a/player/command.c
+++ b/player/command.c
@@ -1548,6 +1548,7 @@ static int mp_property_demuxer_cache_state(void *ctx, struct m_property *prop,
if (s.seeking != MP_NOPTS_VALUE)
node_map_add_double(r, "debug-seeking", s.seeking);
node_map_add_int64(r, "debug-low-level-seeks", s.low_level_seeks);
+ node_map_add_int64(r, "debug-byte-level-seeks", s.byte_level_seeks);
if (s.ts_last != MP_NOPTS_VALUE)
node_map_add_double(r, "debug-ts-last", s.ts_last);
diff --git a/player/lua/stats.lua b/player/lua/stats.lua
index 8df192db2a..a1cd566ab5 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -674,6 +674,7 @@ local function cache_stats()
append(stats, fc, {prefix = "Disk cache:"})
append(stats, info["debug-low-level-seeks"], {prefix = "Media seeks:"})
+ append(stats, info["debug-byte-level-seeks"], {prefix = "Stream seeks:"})
append(stats, "", {prefix=o.nl .. o.nl .. "Ranges:", nl="", indent=""})