lottianimation: fix incorrect animation in time stretch. 89/192389/4
authorHermet Park <hermetpark@gmail.com>
Mon, 5 Nov 2018 08:04:07 +0000 (17:04 +0900)
committerHermet Park <chuneon.park@samsung.com>
Mon, 5 Nov 2018 08:48:54 +0000 (08:48 +0000)
commit83b433d4e4cc98f29dd3c113ee620f62d03dd512
tree30504969d23d669270ff47aab5ae34ea176e308a
parent5fedd3479d2ed91db051f84a9d87601a9218c456
lottianimation: fix incorrect animation in time stretch.

Instead of applying startFrame at frameAtPos()
but applied it at update() in generic way.

This change could make apis useful at both raw frame control
and normalized frame controls.

This fixes "cue" animation sample.

Change-Id: I0adfd73410291cdee95455b18ef8720482c81090
src/lottie/lottieanimation.cpp
src/lottie/lottiemodel.h