summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/camera.c5
-rw-r--r--src/camera_internal.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/src/camera.c b/src/camera.c
index 11780ed..387b50a 100644
--- a/src/camera.c
+++ b/src/camera.c
@@ -406,13 +406,14 @@ static void __camera_event_handler_preview(camera_cb_info_s *cb_info, char *recv
/* get stream info */
stream = (MMCamcorderVideoStreamDataType *)buf_pos;
- CAM_LOG_VERBOSE("meta [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu]",
+ CAM_LOG_VERBOSE("meta [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] [%llu] lux[%llu]",
stream->frame_meta.ts_soe, stream->frame_meta.ts_eoe,
stream->frame_meta.ts_sof, stream->frame_meta.ts_eof,
stream->frame_meta.ts_hal, stream->frame_meta.ts_qmf,
stream->frame_meta.ts_gst, stream->frame_meta.td_exp,
stream->frame_meta.ts_aux, stream->frame_meta.td_aux,
- stream->frame_meta.seqnum, stream->frame_meta.flags);
+ stream->frame_meta.seqnum, stream->frame_meta.flags,
+ stream->frame_meta.lux_index);
/* set stream data for camera_attr_get_preview_frame_rotation() and camera_attr_get_preview_frame_meta() */
cb_info->stream_data = stream;
diff --git a/src/camera_internal.c b/src/camera_internal.c
index 8347f93..eaa691b 100644
--- a/src/camera_internal.c
+++ b/src/camera_internal.c
@@ -342,6 +342,7 @@ int camera_attr_get_preview_frame_meta(camera_h camera, camera_frame_meta_s *fra
frame_meta->td_aux = stream->frame_meta.td_aux;
frame_meta->seqnum = stream->frame_meta.seqnum;
frame_meta->flags = stream->frame_meta.flags;
+ frame_meta->lux_index = stream->frame_meta.lux_index;
return CAMERA_ERROR_NONE;
}