Video blinking when switching between videos with different ratios (Android 14 only)
Version
Media3 1.2.0
More version details
No response
Devices that reproduce the issue
Pixel 7 pro, android 14
Devices that do not reproduce the issue
Pixel 7 Pro, android 13
Reproducible in the demo app?
Not tested
Reproduction steps
- Play the video from a resource file.
- Play another video from a resource file. The second video has a different side ratio.
Expected result
The video starts playing without visual resize effects.
Actual result
On Android 14, there seems to be an issue with video blinking when switching between videos with varying aspect ratios.
https://github.com/androidx/media/assets/153927626/d9a2842f-4e2f-4e0b-807f-7be8d033ce39
It looks like the last frame of the first video was applied scale from the second video.
I've also created an example project ( https://github.com/marzic93/ExoplayerBugExample ) to reproduce this bug.
Media
https://github.com/marzic93/ExoplayerBugExample/blob/main/app/src/main/res/raw/example_1.MP4 https://github.com/marzic93/ExoplayerBugExample/blob/main/app/src/main/res/raw/example_2.mp4
Bug Report
- [ ] You will email the zip file produced by
adb bugreportto [email protected] after filing this issue.
@marcbaechinger Hello! Do you have any ideas why it happened?