commit | e85067f29ddcd010c86cd2d3e0c693c2976e598f | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Thu May 23 15:23:56 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu May 23 19:53:50 2019 +0000 |
tree | d98eea77fbc2f538397b7fa1a0b2f585961519c8 | |
parent | 7e8cce1d9d8ae2d4aa0b17d4fd0c256a5189f5ec [diff] |
[skottie] Clamp seek() to the valid frame range AE's valid frame range for a given composition/layer is [inPoint,outPoint). That is, a given object is not active at outPoint. https://skia-review.googlesource.com/c/skia/+/215432 started enforcing this for layers, but the side effect is seek(1) now produces blank frames. This CL pins t in the [inPoint,outPoint) interval, to guarantee a valid frame. Change-Id: I6e0001f284b85fe733e30469a7a7947818c1e07e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/215681 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>