Fix transcoding drops a few frames.
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
Showing
with
45 additions
and
5 deletions
Please
register
or
sign in
to comment