From bd0a636d8b6f44297c232f6bf0cf95aea655c04f Mon Sep 17 00:00:00 2001 From: Philip Sequeira Date: Thu, 15 Mar 2018 01:59:45 -0400 Subject: stream_file: enable cache for FUSE filesystems on OS X Requested in #634. Better late than never? --- stream/stream_file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stream/stream_file.c') diff --git a/stream/stream_file.c b/stream/stream_file.c index 0b71c07884..8778e7e011 100644 --- a/stream/stream_file.c +++ b/stream/stream_file.c @@ -192,7 +192,8 @@ char *mp_file_get_path(void *talloc_ctx, bstr url) static bool check_stream_network(int fd) { struct statfs fs; - const char *stypes[] = { "afpfs", "nfs", "smbfs", "webdav", NULL }; + const char *stypes[] = { "afpfs", "nfs", "smbfs", "webdav", "osxfusefs", + NULL }; if (fstatfs(fd, &fs) == 0) for (int i=0; stypes[i]; i++) if (strcmp(stypes[i], fs.f_fstypename) == 0) -- cgit v1.2.3