From 37666b0dc1f8754d9468bd4815b7e66a37f64f30 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Tue, 7 Sep 2021 07:26:46 +0200 Subject: [PATCH] filter/video-superresolution: Fix incorrect symbol name --- source/filters/filter-video-superresolution.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/filters/filter-video-superresolution.cpp b/source/filters/filter-video-superresolution.cpp index aa7be55..e136194 100644 --- a/source/filters/filter-video-superresolution.cpp +++ b/source/filters/filter-video-superresolution.cpp @@ -603,12 +603,12 @@ bool streamfx::filter::video_superresolution::video_superresolution_factory::is_ } } -std::shared_ptr _video_denoising_factory_instance = nullptr; +std::shared_ptr _video_superresolution_factory_instance = nullptr; void video_superresolution_factory::initialize() try { - if (!_video_denoising_factory_instance) - _video_denoising_factory_instance = std::make_shared(); + if (!_video_superresolution_factory_instance) + _video_superresolution_factory_instance = std::make_shared(); } 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::get() { - return _video_denoising_factory_instance; + return _video_superresolution_factory_instance; }