mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

In the old version, the transcoder uses decoder.isEnded() alone as the criteria to stop the encoding/muxing process. It's rectified to: - On decoder ending, signal the encoder of EOS after writing all decoded frames to it. - On encoder ending, write end track to muxer. PiperOrigin-RevId: 393322114