You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixed the flush_encoders method to support older versions of FFmpeg
This commit is contained in:
@@ -159,9 +159,9 @@ int main()
|
||||
// c1.time.PrintValues();
|
||||
|
||||
// Add clips
|
||||
//t.AddClip(&c1);
|
||||
t.AddClip(&c1);
|
||||
//t.AddClip(&c2);
|
||||
t.AddClip(&c3);
|
||||
//t.AddClip(&c3);
|
||||
|
||||
|
||||
// Create a writer
|
||||
@@ -182,7 +182,7 @@ int main()
|
||||
// Output stream info
|
||||
w.OutputStreamInfo();
|
||||
|
||||
for (int frame = 1; frame <= 300; frame++)
|
||||
for (int frame = 1; frame <= 180; frame++)
|
||||
{
|
||||
tr1::shared_ptr<Frame> f = t.GetFrame(frame);
|
||||
if (f)
|
||||
|
||||
Reference in New Issue
Block a user