Comparing version 0.0.31 to 0.0.32
{ | ||
"name": "js-ffmpeg", | ||
"description": "JS FFMpeg", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"author": "Ziggeo", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/jsonize/js-ffmpeg", |
@@ -183,8 +183,7 @@ Scoped.require([ | ||
}, | ||
computeDuration: function (duration, time_start, time_end, time_limit) { | ||
if (time_start) | ||
duration -= time_start; | ||
if (time_end) | ||
duration -= time_end - (time_start || 0); | ||
time_end = time_end > 0 && time_end < duration ? time_end : duration; | ||
time_start = time_start > 0 ? Math.min(time_start, duration) : 0; | ||
duration = Math.max(time_end - time_start, 0); | ||
if (time_limit) | ||
@@ -194,5 +193,5 @@ duration = Math.min(duration, time_limit); | ||
} | ||
}; | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
869308
2616