summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index b159f91708..31f76bcb1e 100644
--- a/player/command.c
+++ b/player/command.c
@@ -1755,6 +1755,11 @@ static int mp_property_demuxer_cache_state(void *ctx, struct m_property *prop,
node_map_add_flag(r, "idle", s.idle);
node_map_add_int64(r, "total-bytes", s.total_bytes);
node_map_add_int64(r, "fw-bytes", s.fw_bytes);
+ 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);
+ if (s.ts_last != MP_NOPTS_VALUE)
+ node_map_add_double(r, "debug-ts-last", s.ts_last);
return M_PROPERTY_OK;
}