Skip to content

Commit

Permalink
filter/blur: Don't increment your own reference count
Browse files Browse the repository at this point in the history
Fixes #818
  • Loading branch information
Xaymar committed Dec 2, 2022
1 parent 164d71e commit e404239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/filters/filter-blur.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 (...) {
Expand Down

0 comments on commit e404239

Please # to comment.