diff --git a/src/EffectBase.cpp b/src/EffectBase.cpp index 6810c44e..13117ab5 100644 --- a/src/EffectBase.cpp +++ b/src/EffectBase.cpp @@ -70,6 +70,12 @@ Json::Value EffectBase::JsonValue() { // Create root json object Json::Value root = ClipBase::JsonValue(); // get parent properties + root["name"] = info.name; + root["class_name"] = info.class_name; + root["short_name"] = info.short_name; + root["description"] = info.description; + root["has_video"] = info.has_video; + root["has_audio"] = info.has_audio; root["order"] = Order(); // return JsonValue diff --git a/src/effects/Blur.cpp b/src/effects/Blur.cpp index fa50483b..69d2e0d0 100644 --- a/src/effects/Blur.cpp +++ b/src/effects/Blur.cpp @@ -308,7 +308,7 @@ string Blur::PropertiesJSON(long int requested_frame) { Json::Value root; root["id"] = add_property_json("ID", 0.0, "string", Id(), false, 0, -1, -1, CONSTANT, -1, true); root["position"] = add_property_json("Position", Position(), "float", "", false, 0, 0, 1000 * 60 * 30, CONSTANT, -1, false); - root["layer"] = add_property_json("Layer", Layer(), "int", "", false, 0, 0, 1000, CONSTANT, -1, false); + root["layer"] = add_property_json("Layer", Layer(), "int", "", false, 0, 0, 20, CONSTANT, -1, false); root["start"] = add_property_json("Start", Start(), "float", "", false, 0, 0, 1000 * 60 * 30, CONSTANT, -1, false); root["end"] = add_property_json("End", End(), "float", "", false, 0, 0, 1000 * 60 * 30, CONSTANT, -1, false); root["duration"] = add_property_json("Duration", Duration(), "float", "", false, 0, 0, 1000 * 60 * 30, CONSTANT, -1, true);