ffmpeg_4: fix build error on darwin

See https://trac.ffmpeg.org/ticket/9242
This commit is contained in:
Zane van Iperen
2021-05-16 08:05:03 +10:00
parent f1b78f8618
commit 8f64c5d9fc
2 changed files with 38 additions and 0 deletions
+3
View File
@@ -9,4 +9,7 @@ callPackage ./generic.nix (rec {
branch = "4.4";
sha256 = "03kxc29y8190k4y8s8qdpsghlbpmchv1m8iqygq2qn0vfm4ka2a2";
darwinFrameworks = [ Cocoa CoreMedia VideoToolbox ];
/* Work around https://trac.ffmpeg.org/ticket/9242 */
patches = [ ./v2-0001-avcodec-videotoolboxenc-define-TARGET_CPU_ARM64-t.patch ];
} // args)