Added new debug methods, and refactored the ReaderBase and WriterBase to better utilize the base class constructor. Also fixed some FFMpegReader issues related to seeking and determining when frames are actually ready.

This commit is contained in:
Jonathan Thomas
2014-08-27 09:44:27 -05:00
parent 66dfed502b
commit cc7a0f41e8
17 changed files with 321 additions and 89 deletions

View File

@@ -31,9 +31,6 @@ using namespace openshot;
ImageReader::ImageReader(string path) throw(InvalidFile) : path(path), is_open(false)
{
// Init FileInfo struct (clear all values)
InitFileInfo();
// Open and Close the reader, to populate it's attributes (such as height, width, etc...)
Open();
Close();