MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / SetJsonValue

Method SetJsonValue

src/effects/Deinterlace.cpp:135–143  ·  view source on GitHub ↗

Load Json::Value into this object

Source from the content-addressed store, hash-verified

133
134// Load Json::Value into this object
135void Deinterlace::SetJsonValue(const Json::Value root) {
136
137 // Set parent data
138 EffectBase::SetJsonValue(root);
139
140 // Set data from Json (if key is found)
141 if (!root["isOdd"].isNull())
142 isOdd = root["isOdd"].asBool();
143}
144
145// Get all properties for a specific frame
146std::string Deinterlace::PropertiesJSON(int64_t requested_frame) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected