mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Fix comparison in ChunkSampleStream.
A recent change tried to make this condition clearer by using Integer.MAX_VALUE, but this only works if the comparison also compares against larger values. PiperOrigin-RevId: 312697530
This commit is contained in:
parent
80eb5d4235
commit
dac3dde7bb
1 changed files with 1 additions and 1 deletions
|
|
@ -635,7 +635,7 @@ public class ChunkSampleStream<T extends ChunkSource> implements SampleStream, S
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (newQueueSize == currentQueueSize) {
|
||||
if (newQueueSize >= currentQueueSize) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue