SetSource() is called multiple times at the same time when playing multiple Videos. 11/222811/9
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 20 Jan 2020 08:04:51 +0000 (17:04 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Tue, 21 Jan 2020 01:48:48 +0000 (10:48 +0900)
commit4ae05edb7e176339665e35b93780c308c1944529
tree329daaef92a50c75183cff42f7fed516c43c4c56
parent79a1f4b9670dbb1ec0b6ae34bdb0888a2fef8fe8
SetSource() is called multiple times at the same time when playing multiple Videos.
At the same time, mTbmSurface may not sync when PrepareTexture() is executed.

So I add a mutex lock, and valid check

Change-Id: I807a9bee58fa920879bbdfa1867325c43e9f7730
dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp [changed mode: 0644->0755]
dali/internal/imaging/tizen/native-image-source-impl-tizen.h