Fix deadlock if sound stream info is set after audiosrc is created 04/94204/1
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 27 Oct 2016 11:43:49 +0000 (20:43 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 27 Oct 2016 11:43:49 +0000 (20:43 +0900)
commit3e99440e80d0ccf5bb33ab747a4ee7a9b9c69f01
treed53c04502d0dafa508dc92c49b56b46e536feed1
parentbbd933f2db035e9adf645c1abb797524a7ab125e
Fix deadlock if sound stream info is set after audiosrc is created

sound stream info includes string and integer types.
They have each attribute and can be set at the same time,
but string type attribute uses write lock and it causes deadlock.
So, this commit avoids it by changing attribute sequence.

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

Change-Id: I4b39b2638a46abee7a3a9a64dd3ad48129554763
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/libmm-camcorder.spec
src/include/mm_camcorder_attribute.h
src/mm_camcorder_attribute.c