mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Clear outputBuffer.flags in VpxDecoderWrapper.decodeBuffer()
This ensures FLAG_END_OF_STREAM doesn't get permanently stuck.
This commit is contained in:
parent
4282d7c22b
commit
31e5e0edaf
1 changed files with 1 additions and 0 deletions
|
|
@ -191,6 +191,7 @@ import java.util.LinkedList;
|
|||
} else {
|
||||
SampleHolder sampleHolder = inputBuffer.sampleHolder;
|
||||
outputBuffer.timestampUs = sampleHolder.timeUs;
|
||||
outputBuffer.flags = 0;
|
||||
sampleHolder.data.position(sampleHolder.data.position() - sampleHolder.size);
|
||||
decodeResult = decoder.decode(sampleHolder.data, sampleHolder.size, outputBuffer, outputRgb);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue