(Capture) Don't scene-off camera when we use inputed camera 49/280749/7
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 2 Sep 2022 14:06:17 +0000 (23:06 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 16 Sep 2022 13:03:37 +0000 (22:03 +0900)
commitaf179fd306874337eb41db76da4daf671449b224
tree4cb38136bceedf75232ab347aa38a0800b4ec1b0
parentd39b7d90143ef79f27b63fbac2b0b64895b86d2d
(Capture) Don't scene-off camera when we use inputed camera

If we create capture with our own camera, App can add/remove this
camera actor.

But current capture API automatically dettach the camera.

If we use DALi's default camera, than this default camera dettached
from the window, and the rendering broken.

This patch protect some kind of this scenario.
We will dettach the camera from window only if we use
capture-impl generated camera, and don't dettach if we use
inputed camera.

Change-Id: I902fbe3a4d933165de87cff7d420438e66c2fdd2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/system/common/capture-impl.cpp
dali/internal/system/common/capture-impl.h