You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the instructions to install and test the ISOBMFF parser. The software repeatedly failed to work. After some investigation I changed the 'unflat' function to the following; it now runs.
module.exports = function unflat (data) {
var tree = [];
// _.forEach(_.sortBy(data, 'id'), iterator, tree); //commented out by JFT
_.forEach(_.sortBy(data, 'id'),
function (obj){
if (obj.parent !== 0) {
addToParent(obj, tree);
} else {
addToTree(obj, tree)
}
}
,tree);
return tree;
}
The text was updated successfully, but these errors were encountered:
I followed the instructions to install and test the ISOBMFF parser. The software repeatedly failed to work. After some investigation I changed the 'unflat' function to the following; it now runs.
The text was updated successfully, but these errors were encountered: