media/libraries/transformer/src
andrewlewis 0b40bc37ab 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
2023-04-12 16:49:30 +01:00
..
androidTest Test: Add TextureOutputListener for texture output tests 2023-04-11 10:34:38 +01:00
main Release sample pipelines before asset loaders 2023-04-12 16:49:30 +01:00
test Use AudioFormat in SilentAudioGenerator. 2023-04-05 15:47:24 +01:00