You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Refactored Clips into a base class called ClipBase. Effects and Clips use this base class, which allows them to be positioned and layered on the timeline. Also fixed a regression in Coordinate, which was not properly setting instance variables.
This commit is contained in:
@@ -32,6 +32,12 @@ using namespace openshot;
|
||||
// Initialize the values of the FileInfo struct
|
||||
void EffectBase::InitEffectInfo()
|
||||
{
|
||||
// Init clip settings
|
||||
Position(0.0);
|
||||
Layer(0);
|
||||
Start(0.0);
|
||||
End(0.0);
|
||||
|
||||
info.has_video = false;
|
||||
info.has_audio = false;
|
||||
info.name = "";
|
||||
|
||||
Reference in New Issue
Block a user