Commit 7dda8e2c authored by poiuytrez's avatar poiuytrez

Link to bug tracker replaced by bug description

parent bef6de90
...@@ -57,7 +57,8 @@ public class Tutorial3View extends JavaCameraView implements PictureCallback { ...@@ -57,7 +57,8 @@ public class Tutorial3View extends JavaCameraView implements PictureCallback {
public void takePicture(final String fileName) { public void takePicture(final String fileName) {
Log.i(TAG, "Taking picture"); Log.i(TAG, "Taking picture");
this.mPictureFileName = fileName; this.mPictureFileName = fileName;
// Clear up buffers to avoid bug http://code.opencv.org/issues/2961 // Postview and jpeg are sent in the same buffers if the queue is not empty when performing a capture.
// Clear up buffers to avoid mCamera.takePicture to be stuck because of a memory issue
mCamera.setPreviewCallback(null); mCamera.setPreviewCallback(null);
// PictureCallback is implemented by the current class // PictureCallback is implemented by the current class
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment