3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #192175 from jmesmon/ffmpeg-full-enable-videotoolbox

ffmpeg-full: enable videotoolbox for hw accelerated encode on darwin
This commit is contained in:
Anthony Cowley 2022-11-27 11:40:45 -05:00 committed by GitHub
commit 3586ad34ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -154,7 +154,7 @@
* Darwin frameworks
*/
, Cocoa, CoreAudio, CoreServices, AVFoundation, MediaToolbox
, VideoDecodeAcceleration
, VideoDecodeAcceleration, VideoToolbox
}:
/* Maintainer notes:
@ -454,7 +454,7 @@ stdenv.mkDerivation rec {
++ optional (nvdec || nvenc) nv-codec-headers
++ optional cuda-llvm clang
++ optionals stdenv.isDarwin [ Cocoa CoreServices CoreAudio AVFoundation
MediaToolbox VideoDecodeAcceleration
MediaToolbox VideoDecodeAcceleration VideoToolbox
libiconv ];
buildFlags = [ "all" ]

View file

@ -18850,7 +18850,7 @@ with pkgs;
samba = if stdenv.isDarwin then null else samba;
inherit (darwin.apple_sdk.frameworks)
Cocoa CoreServices CoreAudio AVFoundation MediaToolbox
VideoDecodeAcceleration;
VideoDecodeAcceleration VideoToolbox;
};
ffmpeg_5-full = ffmpeg-full.override {