mirror of https://github.com/mpv-player/mpv
stream_libarchive: mark as needing cache
Seeking back can be excessively slow with most formats, so it'll benefit from this.
This commit is contained in:
parent
fdb39f313b
commit
987eecdb5a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue