You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Refactored seek method a bit in the FFmpegReader, to fix some bugs. Also, being changing the cache object again, on how it cleans up pointers. Some debug code is checked in also.
This commit is contained in:
@@ -74,6 +74,16 @@ void Keyframe::AddPoint(float x, float y)
|
||||
AddPoint(new_point);
|
||||
}
|
||||
|
||||
// Add a new point on the key-frame, with a specific interpolation type
|
||||
void Keyframe::AddPoint(float x, float y, Interpolation_Type interpolate)
|
||||
{
|
||||
// Create a point
|
||||
Point new_point(x, y, interpolate);
|
||||
|
||||
// Add the point
|
||||
AddPoint(new_point);
|
||||
}
|
||||
|
||||
// Set the handles, used for smooth curves. The handles are based
|
||||
// on the surrounding points.
|
||||
void Keyframe::SetHandles(Point current)
|
||||
|
||||
Reference in New Issue
Block a user