You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixed Keyframe Test
This commit is contained in:
@@ -695,8 +695,9 @@ TEST_CASE( "AttachToObject", "[libopenshot][keyframe]" )
|
||||
// Tracked Data JSON
|
||||
auto trackedDataJson = trackedData->JsonValue();
|
||||
|
||||
// Get and cast the trakcedObject
|
||||
auto trackedObject_base = t.GetTrackedObject("");
|
||||
// Get and cast the trakcedObjec
|
||||
std::list<std::string> ids = t.GetTrackedObjectsIds();
|
||||
auto trackedObject_base = t.GetTrackedObject(ids.front());
|
||||
auto trackedObject = std::make_shared<TrackedObjectBBox>();
|
||||
trackedObject = std::dynamic_pointer_cast<TrackedObjectBBox>(trackedObject_base);
|
||||
CHECK(trackedObject == trackedData);
|
||||
|
||||
Reference in New Issue
Block a user