commit | 42a971b20b5c3fbc3a2e93ba8edd89e9bd90a21c | [log] [tgz] |
---|---|---|
author | Linus Nilsson <lnilsson@google.com> | Wed Jul 01 16:41:11 2020 -0700 |
committer | Linus Nilsson <lnilsson@google.com> | Mon Jul 06 12:51:04 2020 -0700 |
tree | 38dca47ec75a4d67fa21e9b9b06ac52c573944f4 | |
parent | 10816453deadf911f4e1067f18ebaf060e8372b4 [diff] |
Transcoder: Preserve source track duration. Preserve the source track's duration by sending an EOS sample with the appropriate PTS to the muxer. Modified MediaSampleWriterTests to verify the extra EOS sample. Bug: 159732935 Test: MediaTranscoder and MediaSampleWriter unit tests. Change-Id: I6792eff8932db126e8734e5d3d6fe8aee2ffb4a1