Permalink
Browse files

qcomcamera: simpler barcode scan fix

works with google goggles

Change-Id: I9310cb82a036de82e34cf52a9902bef6e958c60c
  • Loading branch information...
drewis committed Mar 23, 2012
1 parent 88cca5b commit f2bae549257fe65a10e1f533115d27d5daff72c3
Showing with 3 additions and 1 deletion.
  1. +3 −1 QcomCamera.cpp
View
@@ -336,7 +336,9 @@ static void cam_data_callback(int32_t msgType,
hwParameters.getPreviewSize(&previewWidth, &previewHeight);
CameraHAL_HandlePreviewData(dataPtr, mWindow, origCamReqMemory,
previewWidth, previewHeight);
- } else if (origData_cb != NULL && origCamReqMemory != NULL) {
+ }
+
+ if (origData_cb != NULL && origCamReqMemory != NULL) {
camera_memory_t *clientData = CameraHAL_GenClientData(dataPtr,
origCamReqMemory, user);
if (clientData != NULL) {

0 comments on commit f2bae54

Please sign in to comment.