- No need to check preview type.
[Version] 1.0.1
[Issue Type] Update
Change-Id: Id7e148f73ba13a28963f2e9922e3bb651c37d4f7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Name: capi-media-camera
Summary: A Camera API
-Version: 1.0.0
-Release: 1
+Version: 1.0.1
+Release: 0
Group: Multimedia/API
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
}
_PREVIEW_CB_HANDLER_DONE:
- /* send PREVIEW_CB_RETURN message if zero copy buffer is used(num_buffer_fd is bigger than 0)
- and preview callback(normal or media packet) is set. */
- if (num_buffer_fd > 0 &&
- (cb_info->user_cb[MUSE_CAMERA_EVENT_TYPE_PREVIEW] ||
- cb_info->user_cb[MUSE_CAMERA_EVENT_TYPE_MEDIA_PACKET_PREVIEW]))
+ /* send PREVIEW_CB_RETURN message if zero copy buffer is used */
+ if (num_buffer_fd > 0)
_camera_msg_send(MUSE_CAMERA_API_PREVIEW_CB_RETURN, NULL, cb_info, NULL, 0);
if (pkt) {