summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2020-01-10 17:47:06 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2020-01-16 17:50:13 +0900
commit6a05d1fc1b4d83579203e53901ac63d259f4160d (patch)
tree6027bb444dfadb8f2b85a19dcc0d735e1b7e38ab /src
parent776e9acb332b616ea5dea5a3f5abb2a477999ec5 (diff)
downloadcamera-6a05d1fc1b4d83579203e53901ac63d259f4160d.tar.gz
camera-6a05d1fc1b4d83579203e53901ac63d259f4160d.tar.bz2
camera-6a05d1fc1b4d83579203e53901ac63d259f4160d.zip
[ACR-1487] Add new preview format and update camera_preview_data_ssubmit/tizen/20200204.110420submit/tizen/20200204.080130accepted/tizen/unified/20200205.125315
- new preview format : CAMERA_PIXEL_FORMAT_MJPEG for motion JPEG preview is added - update camera_preview_data_s : is_delta_frame in camera_preview_data_s is added [Version] 0.4.29 [Profile] Common [Issue Type] ACR Change-Id: If449b78fdaa5092565ab848677fd4d175760d602 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/camera.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/camera.c b/src/camera.c
index 211b29c..9aa8b48 100644
--- a/src/camera.c
+++ b/src/camera.c
@@ -1039,6 +1039,7 @@ static void _camera_preview_frame_create(camera_stream_data_s *stream, int num_b
if (stream->format == MM_PIXEL_FORMAT_ENCODED_H264) {
frame->data.encoded_plane.data = buf_pos;
frame->data.encoded_plane.size = stream->data.encoded.length_data;
+ frame->data.encoded_plane.is_delta_frame = (bool)stream->data.encoded.is_delta_frame;
total_size = stream->data.encoded.length_data;
} else if (stream->format == MM_PIXEL_FORMAT_INVZ) {
frame->data.depth_plane.data = buf_pos;