Windows now passes most unit tests. Added header macro to assist on passing correct test media paths to unit tests. Also added a new info parameter has_single_image, which is used to optomize the frame mapper class for images with long durations.

This commit is contained in:
Jonathan Thomas
2015-09-28 22:05:50 -05:00
parent 32d41e780d
commit 66c5ced902
17 changed files with 201 additions and 70 deletions

View File

@@ -60,6 +60,7 @@ void ImageReader::Open() throw(InvalidFile)
// Update image properties
info.has_audio = false;
info.has_video = true;
info.has_single_image = true;
info.file_size = image->fileSize();
info.vcodec = image->format();
info.width = image->size().width();