summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorgall0ws <g4ll0ws@gmail.com>2018-05-26 13:20:22 +0200
committerJan Ekström <jeebjp@gmail.com>2018-06-05 01:28:35 +0300
commitbca59516cc172e72a606b01b783added9c45dfb8 (patch)
tree1f4946901de3b34d71e0264bd460148feb5136fc /stream
parent8479449d14e597f31add16930d257910515420de (diff)
downloadmpv-bca59516cc172e72a606b01b783added9c45dfb8.tar.bz2
mpv-bca59516cc172e72a606b01b783added9c45dfb8.tar.xz
stream_file: enable cache for FUSE filesystems on OpenBSD and FreeBSD
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c
index 2d0e3457c0..5cf63558f2 100644
--- a/stream/stream_file.c
+++ b/stream/stream_file.c
@@ -193,7 +193,7 @@ static bool check_stream_network(int fd)
{
struct statfs fs;
const char *stypes[] = { "afpfs", "nfs", "smbfs", "webdav", "osxfusefs",
- NULL };
+ "fuse", "fusefs.sshfs", NULL };
if (fstatfs(fd, &fs) == 0)
for (int i=0; stypes[i]; i++)
if (strcmp(stypes[i], fs.f_fstypename) == 0)