mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-28 18:41:14 +00:00
filter/video-superresolution: Fix incorrect symbol name
This commit is contained in:
parent
496fe424f4
commit
37666b0dc1
1 changed files with 5 additions and 5 deletions
|
@ -603,12 +603,12 @@ bool streamfx::filter::video_superresolution::video_superresolution_factory::is_
|
|||
}
|
||||
}
|
||||
|
||||
std::shared_ptr<video_superresolution_factory> _video_denoising_factory_instance = nullptr;
|
||||
std::shared_ptr<video_superresolution_factory> _video_superresolution_factory_instance = nullptr;
|
||||
|
||||
void video_superresolution_factory::initialize()
|
||||
try {
|
||||
if (!_video_denoising_factory_instance)
|
||||
_video_denoising_factory_instance = std::make_shared<video_superresolution_factory>();
|
||||
if (!_video_superresolution_factory_instance)
|
||||
_video_superresolution_factory_instance = std::make_shared<video_superresolution_factory>();
|
||||
} catch (const std::exception& ex) {
|
||||
D_LOG_ERROR("Failed to initialize due to error: %s", ex.what());
|
||||
} catch (...) {
|
||||
|
@ -617,10 +617,10 @@ try {
|
|||
|
||||
void video_superresolution_factory::finalize()
|
||||
{
|
||||
_video_denoising_factory_instance.reset();
|
||||
_video_superresolution_factory_instance.reset();
|
||||
}
|
||||
|
||||
std::shared_ptr<video_superresolution_factory> video_superresolution_factory::get()
|
||||
{
|
||||
return _video_denoising_factory_instance;
|
||||
return _video_superresolution_factory_instance;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue