|
@@ -186,7 +186,7 @@ TsSmooth.prototype._transform = function(chunk, encoding, cb) {
|
|
|
waittime = 0;
|
|
waittime = 0;
|
|
|
} else if (error < -self.error_limit) {
|
|
} else if (error < -self.error_limit) {
|
|
|
// ignore the data since it is too late
|
|
// ignore the data since it is too late
|
|
|
- return processNext();
|
|
|
|
|
|
|
+ return setImmediate(processNext);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return wait(waittime, function output() {
|
|
return wait(waittime, function output() {
|