mirror of
https://github.com/androidx/media.git
synced 2025-05-18 13:09:56 +08:00

This test was testing a scenario that never happens in production. Indeed, in this test, a frame was registered to the ExternalTextureManager but never rendered on the decoder ouput surface. This never happens in production because both actions are normally performed in PlaybackVideoGraphWrapper.InputVideoSink.handleInputFrame(). This test was also failing on API 31 emulator. As the frame was never rendered, the timeout to release all registered frames in ExternalTextureManager was always exceeded. This sometimes caused the decoder to fail on this emulator because there was no interaction with the decoder for a long time. PiperOrigin-RevId: 705490910
Transformer module
Provides functionality for transforming media files.
Getting the module
The easiest way to get the module is to add it as a gradle dependency:
implementation 'androidx.media3:media3-transformer:1.X.X'
where 1.X.X
is the version, which must match the version of the other media
modules being used.
Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.