mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-26 09:21:55 -04:00
obs-nvenc: Enable NVENC on Arm64
This commit is contained in:
@@ -77,7 +77,7 @@ check_obs_browser()
|
||||
add_obs_plugin(obs-ffmpeg)
|
||||
add_obs_plugin(obs-filters)
|
||||
add_obs_plugin(obs-libfdk)
|
||||
add_obs_plugin(obs-nvenc PLATFORMS WINDOWS LINUX ARCHITECTURES x64 x86_64)
|
||||
add_obs_plugin(obs-nvenc PLATFORMS WINDOWS LINUX)
|
||||
add_obs_plugin(obs-outputs)
|
||||
add_obs_plugin(
|
||||
obs-qsv11
|
||||
|
||||
@@ -101,7 +101,9 @@ bool nv_failed2(obs_encoder_t *encoder, void *session, NVENCSTATUS err, const ch
|
||||
|
||||
bool load_nvenc_lib(void)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
#if defined(_M_ARM64)
|
||||
nvenc_lib = os_dlopen("nvEncodeAPI.dll");
|
||||
#elif defined(_WIN32)
|
||||
nvenc_lib = os_dlopen("nvEncodeAPI64.dll");
|
||||
#else
|
||||
nvenc_lib = os_dlopen("libnvidia-encode.so.1");
|
||||
|
||||
Reference in New Issue
Block a user