You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixing some regressions on image merging
This commit is contained in:
committed by
FeRD (Frank Dana)
parent
8387b124ad
commit
b3ad76ddf7
+9
-1
@@ -69,7 +69,15 @@ namespace openshot {
|
||||
CacheMemory cache;
|
||||
|
||||
/// Constructor for the base clip
|
||||
ClipBase() { };
|
||||
ClipBase() {
|
||||
// Initialize values
|
||||
position = 0.0;
|
||||
layer = 0;
|
||||
start = 0.0;
|
||||
end = 0.0;
|
||||
previous_properties = "";
|
||||
timeline = NULL;
|
||||
};
|
||||
|
||||
// Compare a clip using the Position() property
|
||||
bool operator< ( ClipBase& a) { return (Position() < a.Position()); }
|
||||
|
||||
@@ -41,6 +41,9 @@ namespace openshot {
|
||||
public:
|
||||
int preview_width; ///< Optional preview width of timeline image. If your preview window is smaller than the timeline, it's recommended to set this.
|
||||
int preview_height; ///< Optional preview width of timeline image. If your preview window is smaller than the timeline, it's recommended to set this.
|
||||
|
||||
/// Constructor for the base timeline
|
||||
TimelineBase();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user