mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Add end of input fix to H263 reader
This commit is contained in:
parent
f0666c605c
commit
45372911b0
1 changed files with 3 additions and 1 deletions
|
|
@ -218,7 +218,9 @@ public final class H263Reader implements ElementaryStreamReader {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void packetFinished(boolean isEndOfInput) {
|
public void packetFinished(boolean isEndOfInput) {
|
||||||
// Do nothing.
|
if (isEndOfInput) {
|
||||||
|
sampleReader.onDataEnd(totalBytesWritten, 0, hasOutputFormat);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue