summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux.c')
-rw-r--r--demux/demux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/demux/demux.c b/demux/demux.c
index b66ed9abbb..342eb7fb56 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -2639,6 +2639,8 @@ static int cached_demux_control(struct demux_internal *in, int cmd, void *arg)
.ts_reader = MP_NOPTS_VALUE,
.ts_end = MP_NOPTS_VALUE,
.ts_duration = -1,
+ .total_bytes = in->total_bytes,
+ .fw_bytes = in->fw_bytes,
};
bool any_packets = false;
for (int n = 0; n < in->num_streams; n++) {