Commit dac3dde7 by tonihei

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
parent 80eb5d42
......@@ -635,7 +635,7 @@ public class ChunkSampleStream<T extends ChunkSource> implements SampleStream, S
break;
}
}
if (newQueueSize == currentQueueSize) {
if (newQueueSize >= currentQueueSize) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment