Add mutex lock for event callback 01/155801/1 accepted/tizen/unified/20171017.204834 submit/tizen/20171017.063236
authorJeongmo Yang <jm80.yang@samsung.com>
Mon, 16 Oct 2017 07:29:07 +0000 (16:29 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Mon, 16 Oct 2017 07:29:07 +0000 (16:29 +0900)
commit86667d8d1a03a193018a4b8b12201b2613695435
treebdcbfba8452a329b9ba92d1afcf74f20024e5a82
parentabd4e68bfaee6c8c0842baec5d1a546210612914
Add mutex lock for event callback

In some case, event callback could be called after unsetting is done by timing.
So, this patch is added to prevent the case.

[Version] 0.3.6
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-4.0-unified_20171013.1]

Change-Id: I4af49048775cce65d6802291bcb4408d97a55d40
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
include/recorder_private.h
packaging/capi-media-recorder.spec
src/recorder.c