Fixed a huge bug when closing a reader and re-opening it. Added some new unit tests to test for that bug, as well as check the ordering of layers and effects. Improved opening and closing of openshot::Clip->Reader() to better support multiple threads.

This commit is contained in:
Jonathan Thomas
2015-02-19 01:03:22 -06:00
parent efa37ea410
commit 86561aed22
7 changed files with 330 additions and 14 deletions

View File

@@ -43,8 +43,10 @@ using namespace tr1;
int main(int argc, char* argv[])
{
// Reader
FFmpegReader r9("/home/jonathan/Videos/sintel-1024-surround.mp4");
FFmpegReader r9("/home/jonathan/apps/libopenshot/src/examples/sintel_trailer-720p.mp4");
r9.debug = true;
r9.Open();
//r9.info.has_audio = false;
//r9.enable_seek = false;
//r9.debug = true;