Skip to content

Commit

Permalink
fix bug :
Browse files Browse the repository at this point in the history
  • Loading branch information
iFinVer committed Dec 26, 2016
1 parent ce16726 commit 560a876
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public boolean initCamera() {
mVideoBuffer[0] = ByteBuffer.allocate(size);
mVideoBuffer[1] = ByteBuffer.allocate(size);
mSurfaceTexture = new SurfaceTexture(TEXTURE_ID);

exited = false;
mCamera.addCallbackBuffer(mVideoBuffer[mVideoBufferIdx].array());
mCamera.setPreviewCallbackWithBuffer(this);
mCamera.setPreviewTexture(mSurfaceTexture);
Expand Down Expand Up @@ -336,13 +336,8 @@ public boolean initCamera() {
@Override
public void run() {
mListener.onCameraStart(finalInit);
if (finalInit) {
exited = false;
}
}
});
} else if (init) {
exited = false;
}
return init;
}
Expand Down
Binary file modified release/finengine-release.aar
Binary file not shown.
Binary file modified release/unitytransfer-release.aar
Binary file not shown.

0 comments on commit 560a876

Please sign in to comment.