| 16 | VideoPlaybackAnimation::~VideoPlaybackAnimation() = default; |
| 17 | |
| 18 | bool VideoPlaybackAnimation::run(Layer& /*layer*/, Duration /*delta*/) { |
| 19 | auto nextImage = _imageQueue->dequeue(); |
| 20 | if (nextImage) { |
| 21 | _imageLayer->setImage(nextImage.value()); |
| 22 | } |
| 23 | return false; |
| 24 | } |
| 25 | |
| 26 | void VideoPlaybackAnimation::cancel(Layer& layer) {} |
| 27 |
no test coverage detected