15-puzzle app reverted to usage of old CvCameraViewListener implementation;

super.onPause() call moved to begining of onPause method according Google recomandations.
This commit is contained in:
Alexander Smorkalov
2013-02-08 09:43:21 +04:00
parent f8720ec60e
commit 076941bb07
10 changed files with 14 additions and 15 deletions

View File

@@ -263,7 +263,7 @@ public class JavaCameraView extends CameraBridgeViewBase implements PreviewCallb
mWidth = width;
mHeight = height;
mYuvFrameData = Yuv420sp;
mRgba = new Mat(mHeight, mWidth, CvType.CV_8UC4);
mRgba = new Mat();
}
public void release() {