commit | a63c9e6d730eb5149c47d9c55764c3a24ffcc46e | [log] [tgz] |
---|---|---|
author | Cong Jiajia <jcong@codeaurora.org> | Tue Dec 04 17:25:04 2018 +0800 |
committer | Hangyu Kuang <hkuang@google.com> | Tue Feb 11 18:56:16 2020 +0000 |
tree | 082927e8815e99307329fa92b9540bb1eedb909c | |
parent | 499d7b957ae2472b60f90a21cae7c47a94851257 [diff] |
GraphicBufferSource: ensure EOS buffer can be submitted Sometimes, even mStopTimeUs is set by calling setStopTimeUs(), the EOS buffer may still not be submitted, because fillCodecBuffer_l() may not be called. So, remove this condition checking, and once if submitEndOfInputStream_l() be called, mEndOfStremSent will be set to true. So EOS buffer won't be send twice. Bug: 2356695 Test: CTS test. Change-Id: I5b69a9281f577e692eb2a471fe1998b0cb09ba45