This commit adds support for the NVENC encoding for nVidia video cards
by compiling media-video/ffmpeg with the respective USE flag.
Closes: https://github.com/gentoo/gentoo/pull/7516
<use>
<flag name="fdk">Enable libfdk support for AAC encoding.</flag>
<flag name="imagemagick">Use ImageMagick for image loading instead of FFmpeg.</flag>
+ <flag name="nvenc">Enable NVENC encoding for nVidia video cards</flag>
</use>
<upstream>
<remote-id type="github">jp9000/obs-studio</remote-id>
LICENSE="GPL-2"
SLOT="0"
-IUSE="+alsa fdk imagemagick jack pulseaudio truetype v4l"
+IUSE="+alsa fdk imagemagick jack nvenc pulseaudio truetype v4l"
COMMON_DEPEND="
>=dev-libs/jansson-2.5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
media-video/ffmpeg:=[x264]
+ nvenc? ( media-video/ffmpeg:=[nvenc] )
net-misc/curl
x11-libs/libXcomposite
x11-libs/libXinerama