mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Fix lib-extractor tests
This commit is contained in:
parent
c6c048f542
commit
f0666c605c
1 changed files with 3 additions and 2 deletions
|
|
@ -327,8 +327,9 @@ public final class TsExtractor implements Extractor {
|
|||
// Send a dummy pusi to allow for packetFinished to be triggered on the last unit
|
||||
for (int i = 0; i < tsPayloadReaders.size(); i++) {
|
||||
TsPayloadReader payloadReader = tsPayloadReaders.valueAt(i);
|
||||
int pid = tsPayloadReaders.keyAt(i);
|
||||
payloadReader.consume(new ParsableByteArray(), FLAG_PAYLOAD_UNIT_START_INDICATOR);
|
||||
if (payloadReader instanceof PesReader) {
|
||||
payloadReader.consume(new ParsableByteArray(), FLAG_PAYLOAD_UNIT_START_INDICATOR);
|
||||
}
|
||||
}
|
||||
} return RESULT_END_OF_INPUT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue