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

Method GetParentTrackedObject

src/Clip.cpp:552–558  ·  view source on GitHub ↗

Return the associated Parent Tracked Object (if any)

Source from the content-addressed store, hash-verified

550
551// Return the associated Parent Tracked Object (if any)
552std::shared_ptr<openshot::TrackedObjectBase> Clip::GetParentTrackedObject() {
553 if (!parentObjectId.empty() && (!parentClipObject && !parentTrackedObject)) {
554 // Attach parent clip OR object to this clip
555 AttachToObject(parentObjectId);
556 }
557 return parentTrackedObject;
558}
559
560// Get file extension
561std::string Clip::get_file_extension(std::string path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected