Resolve memory issues of webp 00/266000/4
authorSeungho Baek <sbsh.baek@samsung.com>
Wed, 3 Nov 2021 14:21:43 +0000 (23:21 +0900)
committerSeungho Baek <sbsh.baek@samsung.com>
Fri, 5 Nov 2021 06:30:39 +0000 (15:30 +0900)
commitc822dae30eecb58678d075a875624cab7dac4843
treeca476f0288af77ba4a4de34a983c7e793f765460
parent2efb8062fbb62dc1afce4fb3ee2466e3fbc97fb7
Resolve memory issues of webp

 - If an webp is loaded by image-visual, the image-visual loads only the first frame and renders.
 - So, after the first frame is loaded, the opened file should be closed.
 - And if a single frame webp is loaded by animated-image-visual, we don't keep the buffer until the loader is deleted.

Change-Id: Ibbee0b5e410edeb49593648975e19eeb82e929f8
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
dali/internal/imaging/common/loader-webp.cpp
dali/internal/imaging/common/webp-loading.cpp