mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
filter/video-superresolution: Catch all exceptions
This commit is contained in:
parent
33c665982e
commit
496fe424f4
1 changed files with 6 additions and 0 deletions
|
@ -504,6 +504,12 @@ video_superresolution_factory::video_superresolution_factory()
|
|||
_nvcvi.reset();
|
||||
_nvcuda.reset();
|
||||
D_LOG_WARNING("Failed to make NVIDIA Super-Resolution available due to error: %s", ex.what());
|
||||
} catch (...) {
|
||||
_nvidia_available = false;
|
||||
_nvvfx.reset();
|
||||
_nvcvi.reset();
|
||||
_nvcuda.reset();
|
||||
D_LOG_WARNING("Failed to make NVIDIA Super-Resolution available.", nullptr);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue