You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Made the Timeline class inherit from FileReaderBase, which means the Timeline is really just a fancy ready class now. Also, added new unit tests for the Clip and Timeline classes.
This commit is contained in:
@@ -15,11 +15,13 @@ void FrameReady(int number)
|
||||
int main()
|
||||
{
|
||||
// Create a clip
|
||||
Clip c("/home/jonathan/Pictures/afriscot_megaman.png");
|
||||
Clip c("/home/jonathan/Videos/big-buck-bunny_trailer.webm");
|
||||
cout << "Position: " << c.Position() << endl;
|
||||
cout << "Start: " << c.Start() << endl;
|
||||
cout << "End: " << c.End() << endl;
|
||||
|
||||
return 0;
|
||||
|
||||
//openshot::ImageReader i("/home/jonathan/Apps/videcho_site/media/logos/watermark3.png");
|
||||
//openshot::Frame* overlay = i.GetFrame(1);
|
||||
//i.DisplayInfo();
|
||||
|
||||
Reference in New Issue
Block a user