Cue encode error when use bitmap and config is ALPHA_8.
@icbaker is already working on this.
Since Jan 24, 2025.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 1.5.1
More version details
1.5.1, the release version.
Devices that reproduce the issue
Pixel5 Android 14
Devices that do not reproduce the issue
I think all divice will reproduce this issue.
Reproducible in the demo app?
Yes
Reproduction steps
CueTest
roundTripViaBundle_withBitmap_yieldsEqualInstance
Change the bitmap to ALPHA_8
Expected result
No error.
Actual result
java.lang.IllegalStateException
at androidx.media3.common.util.Assertions.checkState(Assertions.java:85)
at androidx.media3.exoplayer.text.TextRenderer.getPresentationTimeUs(TextRenderer.java:609)
at androidx.media3.exoplayer.text.TextRenderer.clearOutput(TextRenderer.java:562)
at androidx.media3.exoplayer.text.TextRenderer.onDisabled(TextRenderer.java:464)
at androidx.media3.exoplayer.BaseRenderer.disable(BaseRenderer.java:244)
at androidx.media3.exoplayer.ExoPlayerImplInternal.disableRenderer(ExoPlayerImplInternal.java:1859)
at androidx.media3.exoplayer.ExoPlayerImplInternal.resetInternal(ExoPlayerImplInternal.java:1577)
at androidx.media3.exoplayer.ExoPlayerImplInternal.stopInternal(ExoPlayerImplInternal.java:1536)
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:723)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.os.HandlerThread.run(HandlerThread.java:85)
Media
No
Bug Report
- You will email the zip file produced by
adb bugreportto android-media-github@google.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.