Fixed many bugs, including an audio crackle between packets, and fixed many multi-threading issues.

This commit is contained in:
Jonathan Thomas
2012-07-03 02:42:47 -05:00
parent b87a58d816
commit a662abcfd7
4 changed files with 54 additions and 34 deletions

View File

@@ -16,10 +16,10 @@ int main()
// openshot::FFmpegReader r("/home/jonathan/Apps/libopenshot/src/examples/test.mp4");
// openshot::FFmpegReader r("/home/jonathan/Apps/libopenshot/src/examples/test1.mp4");
// openshot::FFmpegReader r("/home/jonathan/Apps/libopenshot/src/examples/piano.wav");
openshot::FFmpegReader r("/home/jonathan/Apps/libopenshot/src/examples/piano.wav");
// openshot::FFmpegReader r("/home/jonathan/Videos/sintel-1024-stereo.mp4");
// openshot::FFmpegReader r("/home/jonathan/Videos/00001.mts");
openshot::FFmpegReader r("/home/jonathan/Videos/sintel_trailer-720p.mp4");
// openshot::FFmpegReader r("/home/jonathan/Videos/sintel_trailer-720p.mp4");
// openshot::FFmpegReader r("/home/jonathan/Aptana Studio Workspace/OpenShotLibrary/src/examples/piano.wav");
// openshot::FFmpegReader r("/home/jonathan/Music/Army of Lovers/Crucified/Army of Lovers - Crucified [Single Version].mp3");
// openshot::FFmpegReader r("/home/jonathan/Documents/OpenShot Art/test.jpeg");
@@ -29,7 +29,7 @@ int main()
// Display debug info
r.DisplayInfo();
for (int frame = 300; frame <= 500; frame++)
for (int frame = 1; frame <= 500; frame++)
{
Frame f = r.GetFrame(frame);
f.Play();