Commit Graph

1017 Commits

Author SHA1 Message Date
Jeff Shillitto
855fd85de2 Fix path to Settings.h 2019-06-01 19:38:40 +10:00
Jonathan Thomas
85d6ac6ad5 Merge pull request #240 from ckirmse/render_memory
free cache in FrameMapper::Close()
2019-05-30 18:03:50 -05:00
Chris Kirmse
25e51d815e free cache in FrameMapper::Close()
- this hugely reduces the memory used by rendering a timeline
  with a lot of clips
- could be related to issue #239
2019-05-30 09:44:39 -07:00
Jonathan Thomas
42af4ca8ca Merge pull request #237 from chad3814/leak-fix
plug another small leak
2019-05-16 15:07:33 -05:00
Chad Walker
fab70dde1e plug another small leak 2019-05-15 10:27:48 -05:00
Jonathan Thomas
937089a856 Merge pull request #236 from OpenShot/memory-fixes
Fixing Memory Leaks (lots of them)
2019-05-14 11:11:12 -05:00
Jonathan Thomas
4a3985e209 Updating comment 2019-05-14 00:20:32 -05:00
Jonathan Thomas
9ffd6a6f75 Fixing crash when destructing Timeline/Clips/FrameMapper 2019-05-13 23:55:03 -05:00
Jonathan Thomas
6335d6f06c Adding debugging messaging to unit test which is failing on Travis CI 2019-05-13 22:48:21 -05:00
Jonathan Thomas
968e472c73 Tweak how Timeline manages the cache object (sometimes itself, and sometimes by the user if they call SetCache) 2019-05-13 17:11:40 -05:00
Jonathan Thomas
bd21d1a751 Fixing crash on Timeline::Close due to deleted FrameMappers 2019-05-13 16:18:15 -05:00
Jonathan Thomas
ed4e388b8c Merge pull request #233 from ckirmse/ckirmse
fix a number of memory leaks
2019-05-13 13:45:44 -05:00
Chris Kirmse
8ea0af59c6 fix allocations to be done the same for ffmpeg < 3.2
- fixes freeing an invalid pointer on old ffmpeg
- now all tests pass
2019-05-10 11:39:26 -07:00
Chris Kirmse
d5a29500a5 change freeing of frame_mappers allocated in Timeline
- each class is now responsible to free whatever it allocates
- all tests passed on my machine with ffmpeg 3.2
- Clip is now more careful about freeing a reader if it allocated it as well
2019-05-09 10:51:40 -07:00
Chris Kirmse
833fcb8e8e fix a number of memory leaks
- some were with libav functions
- same were due to non-virtual destructors
2019-05-08 15:02:33 -07:00
Jonathan Thomas
17a2258939 Merge pull request #232 from OpenShot/improved-qimage-scale-caching
Improve QtImageReader caching logic (fixes performance of larger static images)
2019-05-08 14:16:50 -05:00
Jonathan Thomas
d23197c9b6 Updating hwaccel table to use emojis (instead of words) take 3 2019-05-08 14:00:55 -05:00
Jonathan Thomas
7a93cd00e2 Merge pull request #231 from eisneinechse/develop
Simplification
2019-05-07 14:15:10 -05:00
eisneinechse
c55d8551c1 Simplification
Further simplify the else branches.
Thanks to SuslikV for pointing this out.
2019-05-05 18:18:14 -07:00
Jonathan Thomas
7c20910ff4 Merge pull request #230 from eisneinechse/develop
The default return value is present
2019-05-03 15:27:03 -05:00
eisneinechse
bfa8a83864 The default return value is present
Remove else so that the default return value is used if no other return was used."else if" in line 334 had no else and therefore in some cases no return value was present.
2019-05-03 13:13:45 -07:00
Jonathan Thomas
8fb72aae84 Merge pull request #227 from OpenShot/revert-222-debian-pybuild
Revert "Update Python install path detection"
2019-05-02 14:31:54 -05:00
Jonathan Thomas
eab0bbbe18 Revert "Update Python install path detection" 2019-05-02 14:19:14 -05:00
Jonathan Thomas
5225deb156 Merge pull request #222 from ferdnyc/debian-pybuild
Update Python install path detection
2019-05-02 14:03:02 -05:00
Jonathan Thomas
d8ce27056e Merge pull request #189 from ferdnyc/rename-rshift
Rename RSHIFT macro
2019-05-02 13:35:31 -05:00