aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2018-04-15 08:57:00 +0200
committerGravatar Jan Ekström <jeebjp@gmail.com>2018-04-15 21:07:13 +0300
commit987eecdb5a7503a6bfe14c6be3a1b16707c37e7f (patch)
tree8cfeb9bc41bbb0ad3c6c49231e523768428caa83
parentfdb39f313b1f62ea62e19a6c620a58625a329240 (diff)
stream_libarchive: mark as needing cache
Seeking back can be excessively slow with most formats, so it'll benefit from this.
-rw-r--r--stream/stream_libarchive.c1
1 files changed, 1 insertions, 0 deletions
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;
}