| 439 | } |
| 440 | |
| 441 | openshot::EffectBase* Timeline::GetClipEffect(const std::string& id) |
| 442 | { |
| 443 | // Search all clips for matching effect ID |
| 444 | for (const auto& clip : clips) { |
| 445 | const auto e = clip->GetEffect(id); |
| 446 | if (e != nullptr) { |
| 447 | return e; |
| 448 | } |
| 449 | } |
| 450 | return nullptr; |
| 451 | } |
| 452 | |
| 453 | // Return the list of effects on all clips |
| 454 | std::list<openshot::EffectBase*> Timeline::ClipEffects() const { |
no test coverage detected