ExoPlayer
ExoPlayer copied to clipboard
Amlogic
trafficstars
fix play video use osd display at mistaken
Problem:
Exoplayer will create a dummySurface use Surface Texture
if do not use Surface when configCodec, After Surface have
created will setSurfce with New SurfaceView, But our omx
do not supprt switch SurfaceTexture to SurfaceView after inited.
Solution:
use exoplayer codecNeedsSetOutputSurfaceWorkaround release codec
and reinit codec when the new Surface come.
Please sign the CLA, and then we can take a look at this.
Hi, I have sign the CLA, please to take a look.
Closing all PRs on this deprecated project. We are now unable to merge PRs from here. If you would like us to consider this change again please file a new PR on the media3 project: https://github.com/androidx/media/pulls