You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge pull request #585 from OpenShot/opencv
3 New OpenCV Effects (Tracker, Stabilization, and Object Detection)
This commit is contained in:
@@ -983,11 +983,11 @@ void Clip::SetJsonValue(const Json::Value root) {
|
||||
for (const auto existing_effect : root["effects"]) {
|
||||
// Create Effect
|
||||
EffectBase *e = NULL;
|
||||
|
||||
if (!existing_effect["type"].isNull()) {
|
||||
// Create instance of effect
|
||||
if ( (e = EffectInfo().CreateEffect(existing_effect["type"].asString())) ) {
|
||||
|
||||
// Create instance of effect
|
||||
if ( (e = EffectInfo().CreateEffect(existing_effect["type"].asString()))) {
|
||||
|
||||
// Load Json into Effect
|
||||
e->SetJsonValue(existing_effect);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user