Hi, I am testing camera on APC Rock 8950, but cannot get camera preview from 
USB Webcam. I got this log which suggests something related to camera size.
===========================================
W/CameraHardware(  409): 
W/CameraHardware(  409): start waiting ..........
I/AwesomePlayer(  409): 
setDataSource_l('/system/media/audio/ui/VideoRecord.ogg')
W/CameraFactory(  409): camera_get_camera_info: id = 0
W/CameraHardware(  409): setPreviewWindow: current: 0x0 -> new: 0xca0988
E/GeckoConsole(  318): Content JS ERROR at 
app://camera.gaiamobile.org/gaia_build_defer_index.js:77 in 
Camera.selectThumbnailSize: Error while selecting thumbnail size. There are no 
thumbnail sizes that match the ratio of the selected picture size: 
{"width":640,"height":480}
W/V4L2Camera(  409): 
W/V4L2Camera(  409): 
W/V4L2Camera(  409): V4L2Camera::setCameraid = 196609
W/CameraHardware(  409): int android::CameraHardware::inPreviewThread(): return 
from wait
F/libc    (  409): Fatal signal 11 (SIGSEGV) at 0x40fc0c00 (code=1)
I/DEBUG   (   75): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 
***
I/DEBUG   (   75): Build fingerprint: 'unknown'
I/DEBUG   (   75): pid: 409, tid: 497  >>> /system/bin/mediaserver <<<
I/DEBUG   (   75): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 
40fc0c00

===========================================

You guy have any idea? This is result of command: adb shell logcat | grep 
.gralloc . I am using Gaia tablet version.
============================================
I/gralloc (   71): wmt.gralloc.param=[16]
I/gralloc (   71): using (fd=12)
I/gralloc (   71): id           = gefb
I/gralloc (   71): xres         = 1280 px
I/gralloc (   71): yres         = 720 px
I/gralloc (   71): xres_virtual = 1280 px
I/gralloc (   71): yres_virtual = 2160 px
I/gralloc (   71): bpp          = 16
I/gralloc (   71): r            = 11:5
I/gralloc (   71): g            =  5:6
I/gralloc (   71): b            =  0:5
I/gralloc (   71): width        = 203 mm (160.157639 dpi)
I/gralloc (   71): height       = 114 mm (160.421051 dpi)
I/gralloc (   71): refresh rate = 59.95 Hz
============================================

Thanks.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to