Merge branch 'develop' into sharpen-effect

# Conflicts:
#	src/EffectInfo.cpp
#	tests/CMakeLists.txt
This commit is contained in:
Jonathan Thomas
2025-05-23 22:26:35 -05:00
17 changed files with 870 additions and 32 deletions

View File

@@ -13,6 +13,7 @@
#include "EffectInfo.h"
#include "Effects.h"
#include "effects/Sharpen.h"
#include "effects/SphericalProjection.h"
using namespace openshot;
@@ -71,6 +72,9 @@ EffectBase* EffectInfo::CreateEffect(std::string effect_type) {
else if (effect_type == "Shift")
return new Shift();
else if (effect_type == "SphericalProjection")
return new SphericalProjection();
else if (effect_type == "Wave")
return new Wave();
@@ -140,6 +144,7 @@ Json::Value EffectInfo::JsonValue() {
root.append(Saturation().JsonInfo());
root.append(Sharpen().JsonInfo());
root.append(Shift().JsonInfo());
root.append(SphericalProjection().JsonInfo());
root.append(Wave().JsonInfo());
/* Audio */
root.append(Noise().JsonInfo());