You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Added JSON change method, which accepts a diff / sync JSON array, and applies the changes to a timeline and timeline associated properties and items. Also fixed many bugs on JSON type checking.
This commit is contained in:
@@ -171,7 +171,7 @@ void ImageReader::SetJsonValue(Json::Value root) throw(InvalidFile) {
|
||||
ReaderBase::SetJsonValue(root);
|
||||
|
||||
// Set data from Json (if key is found)
|
||||
if (root["path"] != Json::nullValue)
|
||||
if (!root["path"].isNull())
|
||||
path = root["path"].asString();
|
||||
|
||||
// Re-Open path, and re-init everything (if needed)
|
||||
|
||||
Reference in New Issue
Block a user