mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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
|
// Send a dummy pusi to allow for packetFinished to be triggered on the last unit
|
||||||
for (int i = 0; i < tsPayloadReaders.size(); i++) {
|
for (int i = 0; i < tsPayloadReaders.size(); i++) {
|
||||||
TsPayloadReader payloadReader = tsPayloadReaders.valueAt(i);
|
TsPayloadReader payloadReader = tsPayloadReaders.valueAt(i);
|
||||||
int pid = tsPayloadReaders.keyAt(i);
|
if (payloadReader instanceof PesReader) {
|
||||||
payloadReader.consume(new ParsableByteArray(), FLAG_PAYLOAD_UNIT_START_INDICATOR);
|
payloadReader.consume(new ParsableByteArray(), FLAG_PAYLOAD_UNIT_START_INDICATOR);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} return RESULT_END_OF_INPUT;
|
} return RESULT_END_OF_INPUT;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue