Added a new class to easily expose the JSON metadata of supported effects in libopenshot. Fixed some bugs related to metadata, and a few bugs in the Mask effect (if initialized without a reader).

This commit is contained in:
Jonathan Thomas
2015-08-06 20:01:34 -05:00
parent 41dceadd1f
commit c7f0a481cc
16 changed files with 189 additions and 12 deletions

View File

@@ -714,6 +714,7 @@ void Clip::SetJsonValue(Json::Value root) {
if (!root["perspective_c4_y"].isNull())
perspective_c4_y.SetJsonValue(root["perspective_c4_y"]);
if (!root["effects"].isNull()) {
// Clear existing effects
effects.clear();