MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / GetClipEffect

Method GetClipEffect

src/Timeline.cpp:441–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441openshot::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
454std::list<openshot::EffectBase*> Timeline::ClipEffects() const {

Callers 2

SetParentEffectMethod · 0.80
Timeline.cppFile · 0.80

Calls 1

GetEffectMethod · 0.45

Tested by

no test coverage detected