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

Cue encode error when use bitmap and config is ALPHA_8. #2054

Open
1 task
peerless2012 opened this issue Jan 19, 2025 · 0 comments · May be fixed by #2058
Open
1 task

Cue encode error when use bitmap and config is ALPHA_8. #2054

peerless2012 opened this issue Jan 19, 2025 · 0 comments · May be fixed by #2058
Assignees
Labels

Comments

@peerless2012
Copy link

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 bugreport to [email protected] after filing this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants