filter/blur: Don't increment your own reference count

Fixes #818
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2022-12-02 04:39:29 +01:00
parent 0f4f6d0485
commit bc7f949c7b

View file

@ -377,7 +377,7 @@ void blur_instance::video_tick(float)
if (_mask.source.name_old != _mask.source.name) {
try {
_mask.source.source_texture = std::make_shared<streamfx::gfx::source_texture>(
::streamfx::obs::weak_source(_mask.source.name), ::streamfx::obs::weak_source(_self));
::streamfx::obs::source{_mask.source.name}, ::streamfx::obs::source{_self, false});
_mask.source.is_scene = (obs_scene_from_source(_mask.source.source_texture->get_object()) != nullptr);
_mask.source.name_old = _mask.source.name;
} catch (...) {