summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2018-08-20 19:18:46 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2018-08-20 19:20:46 +0900
commit40529d1ce29a62479f871eeceb776ae73c662dd5 (patch)
tree8b2befbd142289b691986b485fcbb26d666a2e01
parent3ae1b45de761912374c69ee3656b65cf9d7eb57a (diff)
downloadcamera-40529d1ce29a62479f871eeceb776ae73c662dd5.tar.gz
camera-40529d1ce29a62479f871eeceb776ae73c662dd5.tar.bz2
camera-40529d1ce29a62479f871eeceb776ae73c662dd5.zip
[Version] 0.4.13 [Profile] Common [Issue Type] Update [Dependency module] mused(mmsvc-core) [Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180818.1] Change-Id: I56466ec4e4bb06e31914d162f8a0ec7793cc8819 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r--packaging/capi-media-camera.spec2
-rw-r--r--src/camera.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 07b0e55..ab5f6cb 100644
--- a/packaging/capi-media-camera.spec
+++ b/packaging/capi-media-camera.spec
@@ -1,6 +1,6 @@
Name: capi-media-camera
Summary: A Camera API
-Version: 0.4.12
+Version: 0.4.13
Release: 0
Group: Multimedia/API
License: Apache-2.0
diff --git a/src/camera.c b/src/camera.c
index e23cf86..092a012 100644
--- a/src/camera.c
+++ b/src/camera.c
@@ -1890,7 +1890,7 @@ static void *_camera_msg_recv_func(gpointer data)
recv_msg = cb_info->recv_msg;
while (g_atomic_int_get(&cb_info->msg_recv_running)) {
- recv_length = muse_core_msg_recv(cb_info->fd, recv_msg);
+ recv_length = muse_core_msg_recv(cb_info->fd, recv_msg, MUSE_MSG_MAX_LENGTH);
if (recv_length <= 0) {
cb_info->is_server_connected = FALSE;
LOGE("receive msg failed - server disconnected");
@@ -2342,7 +2342,7 @@ int _camera_independent_request(int api, int device_type, const char *key, int *
goto _REQUEST_EXIT;
}
- ret = muse_core_msg_recv(sock_fd, recv_msg);
+ ret = muse_core_msg_recv(sock_fd, recv_msg, MUSE_CAMERA_MSG_MAX_LENGTH);
if (ret <= 0) {
LOGE("recv msg failed %d", errno);
ret = CAMERA_ERROR_INVALID_OPERATION;