diff options
Diffstat (limited to 'libcamera/SecCameraHWInterface.cpp')
-rw-r--r-- | libcamera/SecCameraHWInterface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcamera/SecCameraHWInterface.cpp b/libcamera/SecCameraHWInterface.cpp index dbfed28..c316ea6 100644 --- a/libcamera/SecCameraHWInterface.cpp +++ b/libcamera/SecCameraHWInterface.cpp @@ -680,7 +680,7 @@ int CameraHardwareSec::previewThread() callbacks: // Notify the client of a new frame. if (mMsgEnabled & CAMERA_MSG_PREVIEW_FRAME) - mDataCb(CAMERA_MSG_PREVIEW_FRAME, mPreviewHeap, index, mCallbackCookie); + mDataCb(CAMERA_MSG_PREVIEW_FRAME, mPreviewHeap, index, NULL, mCallbackCookie); Mutex::Autolock lock(mRecordLock); if (mRecordRunning == true) { @@ -1203,7 +1203,7 @@ int CameraHardwareSec::pictureThread() memcpy(mRawHeap->data, PostviewHeap->base(), postviewHeapSize); if (mMsgEnabled & CAMERA_MSG_RAW_IMAGE) { - mDataCb(CAMERA_MSG_RAW_IMAGE, mRawHeap, 0, mCallbackCookie); + mDataCb(CAMERA_MSG_RAW_IMAGE, mRawHeap, 0, NULL, mCallbackCookie); } if (mMsgEnabled & CAMERA_MSG_COMPRESSED_IMAGE) { @@ -1225,7 +1225,7 @@ int CameraHardwareSec::pictureThread() memmove(ImageStart, ExifStart, JpegImageSize - 2); memcpy(ExifStart, ExifHeap->data, JpegExifSize); - mDataCb(CAMERA_MSG_COMPRESSED_IMAGE, JpegHeap, 0, mCallbackCookie); + mDataCb(CAMERA_MSG_COMPRESSED_IMAGE, JpegHeap, 0, NULL, mCallbackCookie); } LOG_TIME_END(0) |