Add task thread for some APIs related preview restart internally 39/96839/3
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 10 Nov 2016 10:32:07 +0000 (19:32 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Mon, 14 Nov 2016 05:00:28 +0000 (14:00 +0900)
commita7f5644c9e643a3d075b1d66d8092c944b89e330
tree57ac25cb2f187a8722bb8f623ab0be117808f5b0
parent3b54b447de44e5115676f5d34988391e8585be2f
Add task thread for some APIs related preview restart internally

The timeout could be occurred in camerasrc if app sets preview callback and call some APIs related preview restart internally,
because, for restarting preview, all camera buffers should be returned to camerasrc,
but, return buffer event can not be processed while calling some APIs which restarts preview internally.(deadlock)
so, added task thread and the APIs are processed in the task thread to process return buffer event immediately.

[Version] 0.2.56
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161110.1]

Change-Id: I6a55b0aa5f71f6595b75bce823f71c35b1a61287
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
muse/include/muse_camera_internal.h
muse/src/muse_camera_dispatcher.c
packaging/mmsvc-camera.spec