AMF + NVENC control and support

This commit is contained in:
KingKDot
2026-07-11 14:55:26 -05:00
parent 62cd920936
commit 424ed348e3
31 changed files with 761 additions and 35 deletions
+5
View File
@@ -93,6 +93,11 @@ if /I "%DISABLE_CGO%"=="true" (
echo Run scripts\vendor-nvcodec-headers.bat from the repo root or set DISABLE_CGO=true.
goto :err
)
if not exist "%CLIENT_DIR%\third_party\amf\include\core\Factory.h" (
echo AMD AMF headers are not cached; fetching them now...
call "%ROOT%scripts\vendor-amf-headers.bat"
if errorlevel 1 goto :err
)
)
%BUILD_CMD% %BUILD_TAGS% -ldflags="%LDFLAGS% %WIN_LDFLAGS%" -o "%OUT_DIR%\agent-windows-amd64.exe" ./cmd/agent
if errorlevel 1 goto :err