mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 12:25:11 +00:00
0c447f4055
This fixes the case where the effect vanishes, but we still hold an invalid pointer to a parameter of that effect. With the new code, the effect will not vanish as long as an effect pointer exists. However, all effects must be created either through std::shared_ptr or std::make_shared. If they were not made through one of those means, the code will crash on the ->shared_from_this() call. |
||
---|---|---|
.. | ||
blur | ||
gfx-effect-source.cpp | ||
gfx-effect-source.hpp | ||
gfx-source-texture.cpp | ||
gfx-source-texture.hpp |