mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +00:00
parent
42416b82db
commit
b81ac8cdc2
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ public class ChunkSampleSource implements SampleSource, SampleSourceReader, Load
|
|||
boolean haveSamples = !sampleQueue.isEmpty();
|
||||
BaseMediaChunk currentChunk = mediaChunks.getFirst();
|
||||
while (haveSamples && mediaChunks.size() > 1
|
||||
&& mediaChunks.get(1).getFirstSampleIndex() == sampleQueue.getReadIndex()) {
|
||||
&& mediaChunks.get(1).getFirstSampleIndex() <= sampleQueue.getReadIndex()) {
|
||||
mediaChunks.removeFirst();
|
||||
currentChunk = mediaChunks.getFirst();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue