commit | f4db80421f70f30505e8c3b3ae6c43e28427fa96 | [log] [tgz] |
---|---|---|
author | Jaideep Sharma <quic_jaidshar@quicinc.com> | Wed Jun 24 16:45:23 2020 +0530 |
committer | Ray Essick <essick@google.com> | Fri Jul 10 09:12:10 2020 -0700 |
tree | 3a9cf8d98b7b6a4d79f9322d1b2f894e573ebd4d | |
parent | 943e41be1511bba1fdfdbb6a053e1a576165e4e7 [diff] |
FlacEncoder: handle EOS properly. - If EOS comes with first frame, notifyFillBuffer for outbuffer was not done. - When EOS comes after last frame, it was setting timestamp to 0, consider timestamp from valid frames only. Test: testSimpleEncodeNative[8(audio/flac)] Test: testOnlyEos[8(audio/flac)] Test: testOnlyEosNative[8(audio/flac)] Test: testSimpleEncode[8(audio/flac)] Bug: 156203931 Change-Id: I9510bc284c5318aa6d1832993490fbcffb6d2151