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

Method PropertiesJSON

src/effects/Stabilizer.cpp:213–222  ·  view source on GitHub ↗

Get all properties for a specific frame

Source from the content-addressed store, hash-verified

211
212// Get all properties for a specific frame
213std::string Stabilizer::PropertiesJSON(int64_t requested_frame) const {
214
215 // Generate JSON properties list
216 Json::Value root = BasePropertiesJSON(requested_frame);
217
218 root["zoom"] = add_property_json("Zoom", zoom.GetValue(requested_frame), "float", "", &zoom, 0.0, 2.0, false, requested_frame);
219
220 // Return formatted string
221 return root.toStyledString();
222}

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.80

Tested by

no test coverage detected