Skip to content
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

Subtitles exo.setTrack ArrayIndexOutOfBoundsException #525

Closed
jboisjo opened this issue Oct 16, 2017 · 1 comment
Closed

Subtitles exo.setTrack ArrayIndexOutOfBoundsException #525

jboisjo opened this issue Oct 16, 2017 · 1 comment

Comments

@jboisjo
Copy link

jboisjo commented Oct 16, 2017

Hey Brian,

When i'm trying to add the CLOSED_CAPTION track i'm getting

Internal runtime error.
java.lang.ArrayIndexOutOfBoundsException: length=1; index=3
                                                                                        at com.google.android.exoplayer2.source.TrackGroupArray.get(TrackGroupArray.java:56)
                                                                                        at com.google.android.exoplayer2.trackselection.MappingTrackSelector$SelectionOverride.createTrackSelection(MappingTrackSelector.java:67)
                                                                                        at com.google.android.exoplayer2.trackselection.MappingTrackSelector.selectTracks(MappingTrackSelector.java:310)
                                                                                        at com.google.android.exoplayer2.ExoPlayerImplInternal$MediaPeriodHolder.selectTracks(ExoPlayerImplInternal.java:1505)
                                                                                        at com.google.android.exoplayer2.ExoPlayerImplInternal.reselectTracksInternal(ExoPlayerImplInternal.java:767)
                                                                                        at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:340)
                                                                                        at android.os.Handler.dispatchMessage(Handler.java:98)
                                                                                        at android.os.Looper.loop(Looper.java:154)
                                                                                        at android.os.HandlerThread.run(HandlerThread.java:61)

I saw that you are working on it and maybe it will be on the next release.
Any idea when this will be out?

Thank you!!

@brianwernick
Copy link
Owner

See #498 and #115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants