git: 9db4ec993805 - main - multimedia/ffmpeg: enable NVENC by default

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 19 Oct 2022 17:44:11 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9db4ec99380561d3538e8caa2a6bf8368ad02b8f

commit 9db4ec99380561d3538e8caa2a6bf8368ad02b8f
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-19 17:12:28 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-19 17:43:40 +0000

    multimedia/ffmpeg: enable NVENC by default
    
    - NVIDIA GPUs are popular on FreeBSD (due to direct vendor support)
    - No extra dependencies for package-only users
    - No changes at runtime unless explicitly requested
    
    PR:             264027
---
 multimedia/ffmpeg/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 5675a639adb0..45ae795c537d 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ffmpeg
 PORTVERSION=	4.4.3
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio net
 MASTER_SITES=	https://ffmpeg.org/releases/
@@ -48,7 +49,8 @@ OPTIONS_DEFINE_i386=	MFX
 OPTIONS_DEFAULT=	AOM ASM ASS DAV1D DRM FONTCONFIG FREETYPE FREI0R GMP \
 			GNUTLS ICONV LAME LIBXML2 OPTIMIZED_CFLAGS OPUS RTCPU \
 			V4L VAAPI VDPAU VMAF VORBIS VPX WEBP X264 X265 XCB
-OPTIONS_DEFAULT_amd64=	SVTAV1
+OPTIONS_DEFAULT_amd64=	NVENC SVTAV1
+OPTIONS_DEFAULT_i386=	NVENC
 
 # i386 is too register-starved for LTO (PR257124)
 OPTIONS_EXCLUDE_i386=	LTO