1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 19:52:14 +00:00

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.
This commit is contained in:
der richter 2021-04-24 12:57:06 +02:00 committed by Jan Ekström
parent ef0aafbd42
commit 01482c63ca

View File

@ -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)