You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Adding additional meta data to effects Json()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user