fix(nvenc): dynamic nv codec sdk selection (#5451)
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
// local includes
|
||||
#include "nvenc_utils.h"
|
||||
|
||||
namespace nvenc {
|
||||
namespace NVENC_NAMESPACE {
|
||||
|
||||
nvenc_d3d11_on_cuda::nvenc_d3d11_on_cuda(ID3D11Device *d3d_device):
|
||||
nvenc_d3d11(NV_ENC_DEVICE_TYPE_CUDA),
|
||||
nvenc_d3d11_on_cuda::nvenc_d3d11_on_cuda(ID3D11Device *d3d_device, ::nvenc::shared_dll dll):
|
||||
nvenc_d3d11(NV_ENC_DEVICE_TYPE_CUDA, std::move(dll)),
|
||||
d3d_device(d3d_device) {
|
||||
}
|
||||
|
||||
@@ -265,5 +265,5 @@ namespace nvenc {
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace nvenc
|
||||
} // namespace NVENC_NAMESPACE
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user