jadonk / jadonk/rowboat

Video recording failure on Overo file + rowboat-gingerbread with USB cam

Open Beginner friendly
#161 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with hardware/ti/omap3/camera/CameraHardware.cpp and inspect the CameraHardware constructor and mRecordingEnabled state. Reproduce video recording on an Overo Fire with rowboat-gingerbread and USB camera hardware; done means Camera.apk no longer freezes when recording starts.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
embedded-iot, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.