|
@@ -153,6 +153,7 @@ TsSmooth.prototype._transform = function(chunk, output, cb) {
|
|
|
console.error('slice', sync, end);
|
|
console.error('slice', sync, end);
|
|
|
buf = Buffer.concat([buf.slice(0, index), buf.slice(sync)]);
|
|
buf = Buffer.concat([buf.slice(0, index), buf.slice(sync)]);
|
|
|
end -= sync-index;
|
|
end -= sync-index;
|
|
|
|
|
+ continue;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
var pcr = parsePCR(buf, index);
|
|
var pcr = parsePCR(buf, index);
|