Closed
Bug 1235030
Opened 8 years ago
Closed 8 years ago
[camera][nexus6-l] can't record video, preview and taking picture are fine.
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.6 S5 - 1/15
People
(Reporter: fatseng, Unassigned)
References
Details
Attachments
(3 files)
can't record video, preview and taking picture are fine.
Reporter | ||
Comment 1•8 years ago
|
||
Description: can't record video Pre-requisite: N/A Repro Steps: 1) launch camera app Actual: can't record a video Expected: The user is able to record a video. Repro Rates: 100% See attached: logcat (timestamp is around 12-1 03:38)
Flags: needinfo?(mchiang)
12-25 04:49:52.200 342 629 W GraphicBufferAllocator: alloc(1920, 1080, 34, 00030022, ...) failed -22 (Invalid argument)
Flags: needinfo?(mchiang)
Farmer, Per the log, QCOM_BSP is not defined. status_t GraphicBufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, buffer_handle_t* handle, int32_t* stride, uint32_t bufferSize) { ATRACE_CALL(); // make sure to not allocate a N x 0 or 0 x N buffer, since this is // allowed from an API stand-point allocate a 1x1 buffer instead. if (!w || !h) w = h = 1; // we have a h/w allocator and h/w buffer is requested status_t err; #ifdef QCOM_BSP if(bufferSize) { err = mAllocDev->allocSize(mAllocDev, w, h, format, usage, handle, stride, bufferSize); } else { err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride); } ALOGW_IF(err, "alloc(%u, %u, %d, %08x, %d ...) failed %d (%s)", w, h, format, usage, bufferSize, err, strerror(-err)); #else err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride); ALOGW_IF(err, "alloc(%u, %u, %d, %08x, ...) failed %d (%s)", w, h, format, usage, err, strerror(-err)); #endif
Flags: needinfo?(fatseng)
After enabling VENUS_COLOR_FORMAT, camera recording & video playback functions well.
Flags: needinfo?(fatseng)
Reporter | ||
Comment 5•8 years ago
|
||
Hi Michael, Android doesn't support is-board-platform-in-list, replace it by filter.
Attachment #8703484 -
Flags: review?(mwu)
Attachment #8703484 -
Flags: feedback?(mchiang)
M release also use filter. I have no concern.
Attachment #8703484 -
Flags: feedback?(mchiang)
Reporter | ||
Comment 7•8 years ago
|
||
Attachment #8706244 -
Flags: review?(mwu)
Updated•8 years ago
|
Attachment #8706244 -
Flags: review?(mwu) → review+
Comment 8•8 years ago
|
||
Comment on attachment 8703484 [details] [review] enable VENUS_COLOR_FORMAT and MDSS_TARGET Assuming this PR isn't needed anymore due to the new one for the newer branch. If it's still necessary, please rerequest review.
Attachment #8703484 -
Flags: review?(mwu)
Reporter | ||
Comment 9•8 years ago
|
||
Comment on attachment 8703484 [details] [review] enable VENUS_COLOR_FORMAT and MDSS_TARGET Nexus-6-l.xml point to b2g-5.1.0_r1 branch now. Therefore, it still needs you to review.
Attachment #8703484 -
Flags: review?(mwu)
Updated•8 years ago
|
Attachment #8703484 -
Flags: review?(mwu) → review+
Reporter | ||
Comment 10•8 years ago
|
||
checkin-needed Please help merge code. Thanks.
Keywords: checkin-needed
Comment 11•8 years ago
|
||
https://github.com/mozilla-b2g/hardware_qcom_display/commit/7b5967bbd90cb193b489d8f8668bc945384bd9b1 https://github.com/mozilla-b2g/hardware_qcom_display/commit/9312b15e14ee19686ec7eac7b4cf2035199e92a6
Status: NEW → RESOLVED
Closed: 8 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.6 S5 - 1/15
You need to log in
before you can comment on or make changes to this bug.
Description
•