diff options
author | Chih-yu Huang <akahuang@google.com> | 2020-09-16 12:20:47 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-09-16 12:20:47 +0000 |
commit | 26c574307ae7fbb909635b0a460129329edbed3d (patch) | |
tree | 0b601a06e311f9050b6f34515e60ae7200f1268a | |
parent | 543ad7987808758737ad3cf891d8097b0d1dabb3 (diff) | |
parent | d264fb81b9166323779bffa4b43c74726f6f6ef2 (diff) | |
download | v4l2_codec2-26c574307ae7fbb909635b0a460129329edbed3d.tar.gz |
Merge "V4L2Decoder: do not stop fetching output buffers on drain or flush" into rvc-dev
-rw-r--r-- | components/V4L2Decoder.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/V4L2Decoder.cpp b/components/V4L2Decoder.cpp index c070d64..0df4e50 100644 --- a/components/V4L2Decoder.cpp +++ b/components/V4L2Decoder.cpp @@ -502,8 +502,6 @@ void V4L2Decoder::tryFetchVideoFrame() { ALOG_ASSERT(mTaskRunner->RunsTasksInCurrentSequence()); ALOG_ASSERT(mVideoFramePool, "mVideoFramePool is null, haven't get the instance yet?"); - if (mState == State::Idle) return; - if (mOutputQueue->FreeBuffersCount() == 0) { ALOGD("No free V4L2 output buffers, ignore."); return; |