Comment 9 for bug 1273890

Revision history for this message
You-Sheng Yang (vicamo) wrote :

1) ln -s camera.goldfish.so camera.default.so
2) scale fps values for KEY_SUPPORTED_PREVIEW_FPS_RANGE and KEY_PREVIEW_FPS_RANGE in function EmulatedCamera::Initialize() in device/generic/goldfish/camera/EmulatedCamera.cpp
3) hacky override widht and height in function android_camera_set_preview_size file ubuntu/libhybris/compat/camera/camera_compatibility_layer.cpp

Preview ok, still some unknow GL error:

V/CameraCompatibilityLayer( 9532): virtual void CameraControl::onFrameAvailable()
V/CameraCompatibilityLayer( 9532): void android_camera_update_preview_texture(CameraControl*)
W/GLConsumer( 9532): [unnamed-9532-1] bindTextureImage: clearing GL error: 0x502
V/CameraCompatibilityLayer( 9532): void android_camera_get_preview_texture_transformation(CameraControl*, float*)

Camera service still aborts at taking a shot, gdb hangs.