Closed
Bug 1111752
Opened 10 years ago
Closed 10 years ago
[B2G][Gecko][Camera] Metering mode initialized to wrong value
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S2 (19dec)
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
Attachments
(1 file)
1.15 KB,
patch
|
mikeh
:
review+
|
Details | Diff | Splinter Review |
Metering mode is initialized to center-weighted but it turns out it selects the wrong template function to set the value: 12-15 14:12:13.609 5374 5399 I Gecko : nsresult mozilla::GonkCameraParameters::SetImpl(uint32_t, const T&) [with T = bool; nsresult = tag_nsresult; uint32_t = unsigned int]:154 -- auto-exposure T = bool, where it should be const char* but we don't implement a SetTranslated for const char*. Easiest thing to do is to use the nsString-typed mode instead of the C string. It will fail later in the log with: 12-15 14:12:13.649 200 5402 E QCameraParameters: Invalid auto exposure value: true This breaks turning on the flash (somehow).
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 1•10 years ago
|
||
try: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=e3b734629fa2
Attachment #8536734 -
Flags: review?(mhabicher)
Comment 2•10 years ago
|
||
Comment on attachment 8536734 [details] [diff] [review] Fix metering mode initial value, v1 Review of attachment 8536734 [details] [diff] [review]: ----------------------------------------------------------------- That's embarrassing.
Attachment #8536734 -
Flags: review?(mhabicher) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/11e571ee2234
Keywords: checkin-needed
Assignee | ||
Updated•10 years ago
|
Target Milestone: --- → 2.2 S2 (19dec)
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/11e571ee2234
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•