summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-21 21:13:53 +0200
committerwm4 <wm4@nowhere>2017-10-21 21:13:53 +0200
commit60df01512cf88d51b6334c95dab72de734f136fd (patch)
treeb3fffa31fad74494d49d2fd33284e9ae3af75fd1 /demux/demux.c
parent633077814ed32a6dd5d09be79688df0e1062b91b (diff)
downloadmpv-60df01512cf88d51b6334c95dab72de734f136fd.tar.bz2
mpv-60df01512cf88d51b6334c95dab72de734f136fd.tar.xz
command: read the diff if you want to know
Diffstat (limited to 'demux/demux.c')
-rw-r--r--demux/demux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 015a3a6e2a..2ebed5a3e7 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -1931,6 +1931,7 @@ static int cached_demux_control(struct demux_internal *in, int cmd, void *arg)
struct demux_ctrl_reader_state *r = arg;
*r = (struct demux_ctrl_reader_state){
.eof = in->last_eof,
+ .seekable = in->seekable_cache,
.ts_start = MP_NOPTS_VALUE,
.ts_min = MP_NOPTS_VALUE,
.ts_max = MP_NOPTS_VALUE,