Commit Graph

762 Commits

Author SHA1 Message Date
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
Chad Walker
fab70dde1e plug another small leak 2019-05-15 10:27:48 -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
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
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
d23197c9b6 Updating hwaccel table to use emojis (instead of words) take 3 2019-05-08 14:00:55 -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
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
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
68d6d6315b Merge branch 'develop' into debian-pybuild 2019-05-02 13:28:10 -05:00
Jonathan Thomas
2c825335c1 Merge branch 'develop' into rename-rshift 2019-05-02 13:24:14 -05:00
Jonathan Thomas
6f00062b7b Fixing small regression with SetMaxSize and missing display_ratio and pixel_ratio 2019-05-02 11:43:34 -05:00
Jonathan Thomas
2b42574ffd Adding SetJson support for display_ratio and pixel_ratio updates, and improving SetMaxSize to maintain aspect ratio correctly, regardless of what is passed in. This helps support things like square aspect ratios. 2019-05-01 18:02:25 -05:00
Jonathan Thomas
fad8f40cf5 Simplifying hardware decoder logic (when looking for pixmap) 2019-04-30 17:43:15 -05:00
Jonathan Thomas
cdb4ae5483 Fixing crash on Mac due to juce::String again 2019-04-29 17:05:13 -05:00
Jonathan Thomas
2bafe60448 Removing 0 cases, and adding new QSV decoder support (experimental) 2019-04-28 17:18:43 -05:00
Jonathan Thomas
3bd2ae5f23 Integrating VDPAU decoding into libopenshot 2019-04-28 14:03:45 -05:00
Jonathan Thomas
ef2ed56906 More refactoring for Mac compile breakage 2019-04-24 10:08:22 -05:00
Jonathan Thomas
a69c34ffbb Small refactor to audio device manager initialise (to prevent compile breakage on Mac) 2019-04-24 09:41:52 -05:00
Jonathan Thomas
140fbaddff Added new AudioDeviceInfo struct, and populate a vector of them on QtPlayer initialization. This allows a user to overwrite the preferred audio device by using the setting PLAYBACK_AUDIO_DEVICE_NAME. 2019-04-23 16:45:02 -05:00