Commit dd16be73 authored by Samesh Buddhika Alahakoon's avatar Samesh Buddhika Alahakoon

Merge branch 'IT18021158' into 'master'

Java camera view runtime crash fixed.

See merge request !31
parents 78c63681 478822dc
......@@ -370,7 +370,15 @@ public class JavaCameraView extends CameraBridgeViewBase implements PreviewCallb
if (!mStopThread && hasFrame) {
if (!mFrameChain[1 - mChainIdx].empty())
deliverAndDrawFrame(mCameraFrame[1 - mChainIdx]);
try
{
deliverAndDrawFrame(mCameraFrame[1 - mChainIdx]);
}
catch (Exception e)
{
e.printStackTrace();
}
}
} while (!mStopThread);
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