-
Notifications
You must be signed in to change notification settings - Fork 409
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
ArithmeticException: divide by zero #617
Labels
Comments
Thanks for reporting! We can fix that by not forwarding 0 values to Leanback (which seems not to handle them very well). |
copybara-service bot
pushed a commit
that referenced
this issue
Aug 30, 2023
Leanback isn't prepared to handle these values and will throw ArithmeticExceptions. Issue: #617 PiperOrigin-RevId: 561413740
copybara-service bot
pushed a commit
to google/ExoPlayer
that referenced
this issue
Aug 30, 2023
Leanback isn't prepared to handle these values and will throw ArithmeticExceptions. Issue: androidx/media#617 PiperOrigin-RevId: 561413740
peacefulprogram
added a commit
to peacefulprogram/nivod-tv
that referenced
this issue
Sep 2, 2023
microkatz
pushed a commit
to hugohlln/media
that referenced
this issue
Sep 29, 2023
Leanback isn't prepared to handle these values and will throw ArithmeticExceptions. Issue: androidx#617 PiperOrigin-RevId: 561413740
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
Media3 1.1.0
More version details
No response
Devices that reproduce the issue
Any TV
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
When using leanback player UI and playing a video which exceeds device capabilities your get and
ArithmeticException: divide by zero
.This is probably due to this change:
There are various listeners in leanback that propagate to VideoSupportFragment#onVideoSizeChanged where the exception happens.
Full stack trace:
Expected result
Previous versions would not throw this is device capabilities were exceeded.
Actual result
Fragment crashes
Media
Bug Report
adb bugreport
to android-media-github@google.com after filing this issue.The text was updated successfully, but these errors were encountered: