mirror of
https://github.com/samsonjs/media.git
synced 2026-04-16 13:05:46 +00:00
The method was recently introduced and only searched for matching samples up to index==length. However, SampleQueue uses a circular array to index its data and the search should continue until relativeStartIndex+length, while also handling the overflow in the circular array. The tests for seeking didn't cover these overflow cases yet because they always started writing data in an empty SampleQueue. This can be fixed by prewarming the queue with placeholder data to force using the overflow logic in the various seek methods. PiperOrigin-RevId: 555963011 |
||
|---|---|---|
| .. | ||
| androidTest | ||
| main | ||
| test | ||