MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / ~Timeline

Method ~Timeline

src/Timeline.cpp:212–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212Timeline::~Timeline() {
213 if (is_open) {
214 // Auto Close if not already
215 Close();
216 }
217
218 // Remove all clips, effects, and frame mappers
219 Clear();
220
221 // Destroy previous cache (if managed by timeline)
222 if (managed_cache && final_cache) {
223 delete final_cache;
224 final_cache = NULL;
225 }
226}
227
228// Add to the tracked_objects map a pointer to a tracked object (TrackedObjectBBox)
229void Timeline::AddTrackedObject(std::shared_ptr<openshot::TrackedObjectBase> trackedObject){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected