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:
commit
3586ad34ff
|
@ -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" ]
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue