fix(library): use native arm64 ffprobe on Apple Silicon (osx-arm-64)

This commit is contained in:
Deivid Soto 2026-04-09 09:26:10 +02:00
parent bea73335a8
commit fad53a5d84

View file

@ -38,6 +38,9 @@ func ffprobePlatformKey() (string, error) {
return "linux-arm64", nil
}
case "darwin":
if runtime.GOARCH == "arm64" {
return "osx-arm-64", nil
}
return "osx-64", nil
case "windows":
if runtime.GOARCH == "amd64" {