-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullPointerException when disable text renderer in case of sideloaded track #1854
Comments
I think you're somehow managing to include a null entry in the array of |
It is still reproducible with the latest ExoPlayer 2.0.1.
Could you re-open it? Stack trace:
|
We will push a fix for this tomorrow. |
Thanks guys! |
- Correctly null out streams[j] in the case that a renderer is being disabled. - Read discontinuities from all children, not just enabled ones. This fixes a failure when reading a discontinuity with all renderers disabled. - Add in some assertions to make incorrect stream selection failures obvious and immediate. - Relocate subtitles so they're above the shutter (needed so they continue to be visible when video is disabled but text is still enabled). Issue: #1854 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135089944
Just verified proposed solution. Working as designed and as desired :-) |
ExoPlayer v2.
I do load dash source with side loaded vtt tracks in the way described in:
#1853
When I set text renderer disabled in the way:
I do experience:
Meanwhile, disable audio renderer works well.
Please, let me know what kind of additional information you do need to process this issue.
The text was updated successfully, but these errors were encountered: