commit | ed0412ed78321bf9d35537626e33115862f7c805 | [log] [tgz] |
---|---|---|
author | Chien-Yu Chen <cychen@google.com> | Mon Apr 27 15:04:22 2015 -0700 |
committer | Chien-Yu Chen <cychen@google.com> | Tue May 05 14:02:01 2015 -0700 |
tree | b581ebde8b57ebf5fac45e5b9d24926f9786594f | |
parent | 466dc8ed6ca6b7f585104806c48613dd34e608c9 [diff] [blame] |
Camera2: allow mixing regular/reprocess requests Allow mixing regular and reprocess requests in a capture burst. Also call abandon() when deleting an input stream. Bug: 20537735 Change-Id: If8c7781038173ab21c73f5ddc32f53793cf86fd9
diff --git a/services/camera/libcameraservice/device3/Camera3InputStream.cpp b/services/camera/libcameraservice/device3/Camera3InputStream.cpp index 84c5754..2504bfd 100644 --- a/services/camera/libcameraservice/device3/Camera3InputStream.cpp +++ b/services/camera/libcameraservice/device3/Camera3InputStream.cpp
@@ -187,6 +187,8 @@ assert(mBuffersInFlight.size() == 0); + mConsumer->abandon(); + /** * no-op since we can't disconnect the producer from the consumer-side */