Added code to flush the encoders, and also write the final frame's audio samples

This commit is contained in:
Jonathan Thomas
2012-10-28 03:35:50 -05:00
parent 60ffebe1fe
commit 7dd94a02e4
3 changed files with 158 additions and 28 deletions

View File

@@ -214,7 +214,7 @@ int main()
//Frame *f = r.GetFrame(1);
//for (int frame = 131; frame >= 1; frame--)
for (int frame = 1; frame <= 300; frame++)
for (int frame = 1; frame <= 352; frame++)
{
tr1::shared_ptr<Frame> f = r.GetFrame(frame);
//f->AddOverlayNumber(0);