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. |
||
|---|---|---|
| .. | ||
| filter-blur.cpp | ||
| filter-blur.hpp | ||
| filter-color-grade.cpp | ||
| filter-color-grade.hpp | ||
| filter-custom-shader.cpp | ||
| filter-custom-shader.hpp | ||
| filter-displacement.cpp | ||
| filter-displacement.hpp | ||
| filter-dynamic-mask.cpp | ||
| filter-dynamic-mask.hpp | ||
| filter-sdf-effects.cpp | ||
| filter-sdf-effects.hpp | ||
| filter-transform.cpp | ||
| filter-transform.hpp | ||