SetSource() is called multiple times at the same time when playing multiple Videos.
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 06:06:32 +0000 (15:06 +0900)
commite4d73682c44870b47793ce0a15370014f88bc8a3
treefd369c0358399154dbbea5b7569b4d7d0ef618dd
parent71c0bddbc8b9a0fc2756dced7b2175003b356afc
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