You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Clip.cpp: Removed hard-coded Tracker effect check in AddEffect function
Added "has_tracked_object" property on EffectBase so that the AddEffect function checks for this property instead of the Tracker effect name - this way it's possible to support other effects that have tracked objects but different names.
This commit is contained in:
@@ -47,6 +47,7 @@ void EffectBase::InitEffectInfo()
|
||||
info.has_audio = false;
|
||||
info.name = "";
|
||||
info.description = "";
|
||||
info.has_tracked_object = false;
|
||||
}
|
||||
|
||||
// Display file information
|
||||
|
||||
Reference in New Issue
Block a user