(VideoPlayer) Increase tbm_surface_h refcount what we hold + minor fix 70/318670/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 22 Jan 2025 03:12:05 +0000 (12:12 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 22 Jan 2025 03:16:49 +0000 (12:16 +0900)
commit8583f4241385655c2428fa24d7b3ffe4ee7c8efd
treed8d592ce7384560fc4c981f911299f56a4cbe003
parentc9170b08df2c75daea796176881d362ac7a7fc15
(VideoPlayer) Increase tbm_surface_h refcount what we hold + minor fix

Since we only got tbm_surface_h from packet and don't do anything,
the reference of tbm might not valid when we want to really use it.

To avoid this case, let's keep the reference count of tbm_surface_h
at SetInfo.

Note that SetSource will increase and decrease refcount automatically.
We don't need to worry after SetSource

Change-Id: Ice5f16ecef2414cfe16e2cb12597a8231bd24d76
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-extension/video-player/ecore-wl2/tizen-video-constraint-helper.cpp
dali-extension/video-player/ecore-wl2/tizen-video-constraint-helper.h
dali-extension/video-player/ecore-wl2/tizen-video-player-ecore-wl2.cpp
dali-extension/video-player/ecore-wl2/tizen-video-player.h