Skip to content

Commit

Permalink
nv-filters: Fix loading of cuda RT
Browse files Browse the repository at this point in the history
This fixes an issue with loading cuda RT in NVIDIA Video Effects.

Signed-off-by: pkv <[email protected]>
  • Loading branch information
pkviet committed Feb 1, 2025
1 parent 48dad45 commit 31b2812
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/nv-filters/nvvfx-load.h
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,10 @@ static inline bool load_nv_vfx_libs()

nv_videofx = LoadLibrary(L"NVVideoEffects.dll");
nv_cvimage = LoadLibrary(L"NVCVImage.dll");
nv_cudart = LoadLibrary(L"cudart64_110.dll");
nv_cudart = LoadLibrary(L"cudart64_12.dll");
// Keep this for compatibility with older SDK
if (!nv_cudart)
nv_cudart = LoadLibrary(L"cudart64_110.dll");
SetDllDirectoryA(NULL);
return !!nv_videofx && !!nv_cvimage && !!nv_cudart;
}
Expand Down

0 comments on commit 31b2812

Please sign in to comment.