From 987eecdb5a7503a6bfe14c6be3a1b16707c37e7f Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 15 Apr 2018 08:57:00 +0200 Subject: stream_libarchive: mark as needing cache Seeking back can be excessively slow with most formats, so it'll benefit from this. --- stream/stream_libarchive.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stream/stream_libarchive.c b/stream/stream_libarchive.c index 2dddb45832..bb25c6ad84 100644 --- a/stream/stream_libarchive.c +++ b/stream/stream_libarchive.c @@ -505,6 +505,7 @@ static int archive_entry_open(stream_t *stream) } stream->close = archive_entry_close; stream->control = archive_entry_control; + stream->streaming = true; return STREAM_OK; } -- cgit v1.2.3