Commit 388f34a1 authored by samesh97's avatar samesh97

Merge remote-tracking branch 'origin/IT18109672' into IT18109672

parents 75fa56ce dd16be73
...@@ -370,7 +370,15 @@ public class JavaCameraView extends CameraBridgeViewBase implements PreviewCallb ...@@ -370,7 +370,15 @@ public class JavaCameraView extends CameraBridgeViewBase implements PreviewCallb
if (!mStopThread && hasFrame) { if (!mStopThread && hasFrame) {
if (!mFrameChain[1 - mChainIdx].empty()) if (!mFrameChain[1 - mChainIdx].empty())
deliverAndDrawFrame(mCameraFrame[1 - mChainIdx]); try
{
deliverAndDrawFrame(mCameraFrame[1 - mChainIdx]);
}
catch (Exception e)
{
e.printStackTrace();
}
} }
} while (!mStopThread); } while (!mStopThread);
Log.d(TAG, "Finish processing thread"); Log.d(TAG, "Finish processing thread");
......
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