Return the associated Parent Tracked Object (if any)
| 550 | |
| 551 | // Return the associated Parent Tracked Object (if any) |
| 552 | std::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 |
| 561 | std::string Clip::get_file_extension(std::string path) |
nothing calls this directly
no outgoing calls
no test coverage detected