Closed
Bug 810440
Opened 12 years ago
Closed 12 years ago
Camera - video recording - rotation angle dropped from function call
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-basecamp:+, firefox18 fixed, firefox19 fixed)
RESOLVED
FIXED
blocking-basecamp | + |
People
(Reporter: mikeh, Assigned: mikeh)
References
Details
Attachments
(1 file)
3.06 KB,
patch
|
daleharvey
:
review+
|
Details | Diff | Splinter Review |
That will teach me to specify default values for parameters. Also, it turns out the video recorder only supports positive rotation angles, so we need to enforce that as well. logcat: I/PRLog ( 963): 7005304[449156a0]: static int mozilla::GonkCameraHardware::GetSensorOrientation(uint32_t, uint32_t): aHwHandle = 1 I/PRLog ( 963): 7005304[449156a0]: setting video rotation to -180 degrees (mapped from -473399296) V/GonkRecorder( 963): setParameters: video-param-rotation-angle-degrees=-180 V/GonkRecorder( 963): setParameter: key (video-param-rotation-angle-degrees) => value (-180) I/PRLog ( 963): 7005304[449156a0]: mRecorder->setParameters(String8(buffer)) failed I/PRLog ( 963): 7005304[449156a0]: [Child 963] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80070057: file /home/mikeh/dev/mozilla/btg014/gecko/dom/camera/GonkCameraControl.cpp, line 855 I/Gecko ( 963): [Child 963] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80070057: file /home/mikeh/dev/mozilla/btg014/gecko/dom/camera/GonkCameraControl.cpp, line 855 I/PRLog ( 963): 7005304[449156a0]: virtual nsresult mozilla::StartRecordingTask::Run():443 : result -2147024809
Assignee | ||
Updated•12 years ago
|
blocking-basecamp: --- → ?
Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•12 years ago
|
||
Also drop the default parameter values that allowed this bug to sneak through compilation and testing in the first place. try-server push: https://tbpl.mozilla.org/?tree=Try&rev=5cac2685e04a
Attachment #680202 -
Flags: review?(dale)
Comment 2•12 years ago
|
||
Comment on attachment 680202 [details] [diff] [review] Add missing parameter to SetupRecording() call Good for me
Attachment #680202 -
Flags: review?(dale) → review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3b367d7be35f
Keywords: checkin-needed
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3b367d7be35f
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
blocking-basecamp: ? → +
Comment 5•12 years ago
|
||
Blocking+ so needs landed on aurora
Keywords: checkin-needed
Whiteboard: needs-checkin-aurora
Comment 6•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/0cbd88257eec (FYI, I use bug queries to look for bb+ bugs needing Aurora uplift, so you don't need to specifically request it)
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
Keywords: checkin-needed
Whiteboard: needs-checkin-aurora
You need to log in
before you can comment on or make changes to this bug.
Description
•