You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixed variable names and comments
thanks to Frank Dana
This commit is contained in:
@@ -438,19 +438,19 @@ openshot::EffectBase* Timeline::GetClipEffect(const std::string& id)
|
||||
std::list<openshot::EffectBase*> Timeline::ClipEffects() const {
|
||||
|
||||
// Initialize the list
|
||||
std::list<EffectBase*> ClipEffects;
|
||||
std::list<EffectBase*> timelineEffectsList;
|
||||
|
||||
// Loop through all clips
|
||||
for (const auto& clip : clips) {
|
||||
|
||||
// Get the clip's list of effects
|
||||
std::list<EffectBase*> clipEffects = clip->Effects();
|
||||
std::list<EffectBase*> clipEffectsList = clip->Effects();
|
||||
|
||||
// Append the clip's effects to the list
|
||||
ClipEffects.insert(ClipEffects.end(), clipEffects.begin(), clipEffects.end());
|
||||
timelineEffectsList.insert(timelineEffectsList.end(), clipEffectsList.begin(), clipEffectsList.end());
|
||||
}
|
||||
|
||||
return ClipEffects;
|
||||
return timelineEffectsList;
|
||||
}
|
||||
|
||||
// Compute the end time of the latest timeline element
|
||||
|
||||
Reference in New Issue
Block a user