Do not apply SampleStream skip-ahead for NoSampleRenderer.
Currently, to make transition to next media period seamless, after the renderer has read until the end of the current SampleStream, we may send it the next SampleStream so the renderer may read from the next SampleStream ahead of the transition. For NoSampleRenderer, we should avoid doing this: skipping ahead for such renderer doesn't have any benefit (the renderer does not consume data from SampleStream), and it will change the provided rendererOffsetUs while the renderer is still rendering from the playing media period. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168669800
Showing
with
11 additions
and
4 deletions
Please
register
or
sign in
to comment