Commit Graph

582 Commits

Author SHA1 Message Date
Jonathan Thomas
982faba190 Fixing DiskCache unittest, and adding some better clean-up code to remove the cache folder after running unittests. 2016-09-15 01:21:15 -05:00
Jonathan Thomas
7f347eb1ca Added SetMaxSize for image optimizations in QImageReader and FFmpegReader, which lets the timeline pass down the max size to all clips and readers, so they can optionally optimize the size of images (especially useful for optimizing preview performance). Removed convoluted image scaling code in FFmpegReader, and replaced with simpler version. Also, fixed a few regressions from the new Caching code, primarily a crash when reaching the end of the last clip on the timeline. 2016-09-14 04:11:12 -05:00
Jonathan Thomas
6cc7fcfd99 Merge branch 'bzr/master' 2016-09-08 22:55:27 -05:00
Jonathan Thomas
43d561754f Reverting to previous state from github... fixing to merge them 2016-09-08 22:33:09 -05:00
Jonathan Thomas
f00ea5c4e2 Reverting logging code in unittests 2016-09-08 22:26:14 -05:00
Jonathan Thomas
a4340b8b0a Reverting and fixing a serious stack smashing error, caused by having a Json::Value in the header file. 2016-09-08 22:18:40 -05:00
Jonathan Thomas
8d8c297ac9 Think I found the bug, replacing Json::Value on the stack with a string 2016-09-08 18:44:12 -05:00
Jonathan Thomas
76afb58cc1 Removing Json cache variable, trying to detect crash 2016-09-08 18:24:18 -05:00
Jonathan Thomas
ad9de6d2ca More changes looking for bug 2016-09-08 18:06:11 -05:00
Jonathan Thomas
f5b7fa6241 Removing some of the JSON related cached functions, still hunting for a build server bug 2016-09-08 17:37:06 -05:00
Jonathan Thomas
19db239537 More changes looking for build server breakage 2016-09-08 17:03:42 -05:00
Jonathan Thomas
a5feb47004 Reverting CacheDisk changes, trying to find a bug on Ubuntu build servers 2016-09-08 16:29:15 -05:00
Jonathan Thomas
629d49c50c Even more logging +2 - trying to determine crash on build server 2016-09-08 15:10:58 -05:00
Jonathan Thomas
ee8ae814b8 Even more logging +1 - trying to determine crash on build server 2016-09-08 14:16:56 -05:00
Jonathan Thomas
3eb3cc2757 Even more logging - trying to determine crash on build server 2016-09-08 03:23:41 -05:00
Jonathan Thomas
c540593de4 More logging for CacheMemory object, which is the cause of the crash 2016-09-08 03:06:10 -05:00
Jonathan Thomas
badb1450d2 Adding additional logging to unittests, to help find an issue on certain systems 2016-09-08 02:33:24 -05:00
Jonathan Thomas
dccd620615 Small refactor of Cache::Remove method, to prevent a stack smashing error I'm getting on some build servers. This might not solve it, but it's worth a try. 2016-09-08 00:58:12 -05:00
Jonathan Thomas
c53c9364f3 Added new CacheDisk class, which caches frames to the hard drive, dramatically speeding up preview speeds, at the expense of IO operations. New unittests for caching framework. Fixed a few bugs with Frame constructor, which was causing invalid # width & height. Integrated JSON into the cache framework, to quickly share the state of the cache (including ranges of cached frame numbers). Fixed a bug where some Timeline frames could have no audio samples. 2016-09-07 00:40:01 -05:00
Jonathan Thomas
89fb86453e Refactoring/renaming Cache to CacheMemory. 2016-08-31 23:57:06 -05:00
Jonathan Thomas
e547296d83 Adding new CacheBase class. This is the first of many cache related commits, with the goal of building a disk based cache object, to be used by the timeline object if enabled. 2016-08-31 02:02:54 -05:00
Jonathan Thomas
d1d0b078f9 Bumping version to 0.1.2, so 9. v0.1.2 2016-08-29 23:23:13 -05:00
Jonathan Thomas
82d3798a18 Fixing JSON property value ranges on mask effect 2016-08-21 21:06:50 -05:00
Jonathan Thomas
e2615c9249 Renaming Layer to Track in JSON properties 2016-08-18 19:45:45 -05:00
Jonathan Thomas
030d173e68 Adding additional meta data to effects Json() 2016-08-18 00:21:43 -05:00