From 479801db4dd8bb6dd6cf198cdfc6653dd099eb13 Mon Sep 17 00:00:00 2001 From: Murilo Date: Thu, 19 Sep 2024 23:01:52 -0300 Subject: [PATCH] nongnu: Add replace-ffmpeg-nvenc procedure for input rewriting. * nongnu/packages/video.scm (replace-ffmpeg-nvenc): New procedure. Signed-off-by: Hilton Chain --- nongnu/packages/video.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nongnu/packages/video.scm b/nongnu/packages/video.scm index 5c6ca46..6075646 100644 --- a/nongnu/packages/video.scm +++ b/nongnu/packages/video.scm @@ -41,6 +41,10 @@ " This build of FFmpeg includes the nonfree NVIDIA encoder for @code{h264_nvenc} and @code{hevc_nvenc} hardware encoding on NVIDIA GPUs.")))) +(define-public replace-ffmpeg-nvenc + (package-input-rewriting + `((,ffmpeg . ,ffmpeg-nvenc)))) + (define-public gmmlib (package (name "gmmlib")