aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-yu Huang <akahuang@google.com>2020-09-16 12:20:47 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-09-16 12:20:47 +0000
commit26c574307ae7fbb909635b0a460129329edbed3d (patch)
tree0b601a06e311f9050b6f34515e60ae7200f1268a
parent543ad7987808758737ad3cf891d8097b0d1dabb3 (diff)
parentd264fb81b9166323779bffa4b43c74726f6f6ef2 (diff)
downloadv4l2_codec2-26c574307ae7fbb909635b0a460129329edbed3d.tar.gz
Merge "V4L2Decoder: do not stop fetching output buffers on drain or flush" into rvc-dev
-rw-r--r--components/V4L2Decoder.cpp2
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;