summaryrefslogtreecommitdiffstats
path: root/stream/stream_lavf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_lavf.c')
-rw-r--r--stream/stream_lavf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c
index 02f23284b3..76f2c8ee4e 100644
--- a/stream/stream_lavf.c
+++ b/stream/stream_lavf.c
@@ -117,6 +117,10 @@ static int control(stream_t *s, int cmd, void *arg)
return 1;
break;
}
+ case STREAM_CTRL_HAS_AVSEEK:
+ if (avio->read_seek)
+ return 1;
+ break;
case STREAM_CTRL_GET_METADATA: {
*(struct mp_tags **)arg = read_icy(s);
if (!*(struct mp_tags **)arg)