You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Adding new crop effect, which can also be animated for some very cool effects.
This commit is contained in:
@@ -56,6 +56,9 @@ EffectBase* EffectInfo::CreateEffect(string effect_type) {
|
||||
else if (effect_type == "Color Shift")
|
||||
return new ColorShift();
|
||||
|
||||
else if (effect_type == "Crop")
|
||||
return new Crop();
|
||||
|
||||
else if (effect_type == "Deinterlace")
|
||||
return new Deinterlace();
|
||||
|
||||
@@ -93,6 +96,7 @@ Json::Value EffectInfo::JsonValue() {
|
||||
root.append(Brightness().JsonInfo());
|
||||
root.append(ChromaKey().JsonInfo());
|
||||
root.append(ColorShift().JsonInfo());
|
||||
root.append(Crop().JsonInfo());
|
||||
root.append(Deinterlace().JsonInfo());
|
||||
root.append(Hue().JsonInfo());
|
||||
root.append(Mask().JsonInfo());
|
||||
|
||||
Reference in New Issue
Block a user