Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions h3_ffmpeg.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "h3_ffmpeg.h"

#include <errno.h>
#include <limits.h>
#include <pthread.h>
#include <signal.h>
#include <spawn.h>
Expand Down
2 changes: 2 additions & 0 deletions h3_metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ int h3_metal_probe(h3_device_info *info, char *error, size_t error_size) {
break;
}
}
#if defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 260000
if (@available(macOS 26.0, *)) {
info->metal4 = [device supportsFamily:MTLGPUFamilyMetal4] ? 1 : 0;
}
#endif
}
return 1;
}