Commit Graph

35 Commits

Author SHA1 Message Date
Jonathan Thomas
ec65ca39b3 Fixing invalid cache after editing effect in a clip, and frame accuracy (converting timestamps into frame numbers). This makes frame by frame editing much better. 2017-03-10 00:51:08 -06:00
Jonathan Thomas
7be1b8ca4c Removing unneeded std::map which has holding all AVPackets, which was causing a memory leak and crashes. 2016-11-14 22:37:44 -06: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
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
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