What steps will reproduce the problem?
1.Connect USB cam to Overo Fire board
2.Boot and start Camera.apk
What is the expected output? What do you see instead?
- expected : Video recording works
- instead : The apk freezes when pushed the recording button. The failure
occurs with a probability of about 30%.
What version of the product are you using? On what operating system?
- Overo Fire with rowboat-gingerbread
Please provide any additional information below.
- I have concluded this is due to an uninitialized variable and I fixed it as
the following:
---hardware/ti/omap3/camera/CameraHardware.cpp---
CameraHardware::CameraHardware()
: mParameters(),
mCamera(0),
mPreviewFrameSize(0),
mNotifyCb(0),
mDataCb(0),
mDataCbTimestamp(0),
mCallbackCookie(0),
mMsgEnabled(0),
previewStopped(true),
+ mRecordingEnabled(false)
{
Currently in rowboat-gingerbread, mRecordingEnabled is not initialized properly
and the value can be true, though recording is not ready. I have found this is
the root cause of the instability.
Original issue reported on code.google.com by Nobu.Kak...@gmail.com on 22 Apr 2012 at 8:22
Original issue reported on code.google.com by
Nobu.Kak...@gmail.com
on 22 Apr 2012 at 8:22