/usr/share/kdenlive/effects/update/frei0r.vertigo.js is in kdenlive-data 4:15.12.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | var update = new Object();
update["Zoomrate"] = new Array(new Array(1.1, function(v, d) { return this.upd1(v, d); }));
function upd1(value, isDowngrade) {
var valueList = value.split(';');
var locale = new QLocale();
for (var i = 0; i < valueList.length; ++i) {
var current = valueList[i].split('=');
valueList[i] = current[0] + '=' + locale.toString(isDowngrade ? current[1] * 5 : current[1] / 5.);
}
return valueList.join(';');
}
|