summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2021-04-24 12:57:06 +0200
committerJan Ekström <jeebjp@gmail.com>2021-04-24 14:22:54 +0300
commit01482c63ca029ea902ae6be97ab78becfd50d25b (patch)
treee0faf34fbd9100fe5a7725601d5a5fe1414fe44c
parentef0aafbd429792781886a6da9d392ddf76cdc7d6 (diff)
downloadmpv-01482c63ca029ea902ae6be97ab78becfd50d25b.tar.bz2
mpv-01482c63ca029ea902ae6be97ab78becfd50d25b.tar.xz
stream_file: add new identifier for macOS FUSE filesystems
the new identifier for osxfusefs is macfuse, but we will keep both since the older releases are still used.
-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 612d4bee38..0ba12278ab 100644
--- a/stream/stream_file.c
+++ b/stream/stream_file.c
@@ -176,7 +176,7 @@ static bool check_stream_network(int fd)
{
struct statfs fs;
const char *stypes[] = { "afpfs", "nfs", "smbfs", "webdav", "osxfusefs",
- "fuse", "fusefs.sshfs", NULL };
+ "fuse", "fusefs.sshfs", "macfuse", NULL };
if (fstatfs(fd, &fs) == 0)
for (int i=0; stypes[i]; i++)
if (strcmp(stypes[i], fs.f_fstypename) == 0)