Skip to content

Commit

Permalink
Merge pull request #42 from JuanIrache/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
JuanIrache authored Feb 25, 2021
2 parents 2760476 + 6f5b408 commit eea18fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ module.exports = function (file, isBrowser = false, update) {
var workerRunning = true;
return new Promise(function (resolve, reject) {
var readBlock = readBlockFactory();
// Providing false gives updates to 100% instead of just 50%
mp4boxFile = MP4Box.createFile(false);
// Providing false gives updates to 100% instead of just 50%, but seems to fail in Node
mp4boxFile = MP4Box.createFile(isBrowser ? false : undefined);
var uintArr;
//Will store timing data to help analyse the extracted data
var timing = {};
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gpmf-extract",
"version": "0.1.22",
"version": "0.1.23",
"description": "Extracts binary GoPro Metadata Format from video files",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit eea18fd

Please sign in to comment.