Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release sample pipelines before asset loaders
The video asset loader renders decoder output to a surface texture, and if the video sample pipeline is in the process of updating the surface texture image at the moment when the asset loader video decoder is released this seems to cause `MediaCodec.release` to get stuck. Swap the release order so that we stop updating the texture before trying to release the codec. PiperOrigin-RevId: 523401619
- Loading branch information