mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
parent
59a789b340
commit
143a4deee8
1 changed files with 4 additions and 0 deletions
|
|
@ -591,6 +591,10 @@ public abstract class MediaCodecTrackRenderer extends SampleSourceTrackRenderer
|
|||
codecReconfigurationState = RECONFIGURATION_STATE_WRITE_PENDING;
|
||||
}
|
||||
inputStreamEnded = true;
|
||||
if (!codecHasQueuedBuffers) {
|
||||
processEndOfStream();
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
if (codecNeedsEosPropagationWorkaround) {
|
||||
// Do nothing.
|
||||
|
|
|
|||
Loading…
Reference in a new issue