Transcoder: MediaSampleReader sometimes drops last sample.
A bug caused MSR to drop the last sample in the file if that was the only sample left to read and another track advanced past it to make the extractor reach EOS. When the extractor reached EOS MSR did not update it's position so when the first track came to read the last sample it looked like the extractor was already positioned on top of it. Fixes: 180051221 Test: MediaSampleReaderNDKTests.TestLastSampleBeforeEOS + all unit tests Change-Id: I7298dc8dcdafb93830cec2a446f68f7a8c878e19
Loading
Please register or sign in to comment