Skip to content

vtenc: Disable ARGB/RGBA64 caps on M1 Pro/Max with macOS <13

Fixes #1358 (closed)

Passing ARGB/RGBA64 to VideoToolbox for some reason didn't work on M1 Pro/Max systems running macOS 12.x - attempting to do so resulted in fail during encoder session creation. This was (silently?) fixed in macOS 13, so this fix only targets earlier versions. Standard M1 Macs didn't appear to have this problem.

Also sneaking in a separate commit to fix a typo in a define we're using here.

Merge request reports