Jonathan Thomas
|
8fcdbc9d03
|
Timeline now checks cache 2nd time, after mutex - incase previous call generated the same frame
|
2022-10-11 23:01:26 -05:00 |
|
Jonathan Thomas
|
5f9c4e06d8
|
Large performance regression fixed by moving mutex further into the Timeline::GetFrame method - only when generating a new frame (allowing cache to actually work freely). Adding mutex back to FFmpegReader::GetFrame. Removing redundant mutex from ReaderBase.h. Adding mutex to all methods that call shrink_to_fit().
|
2022-10-11 18:14:36 -05:00 |
|
Jonathan Thomas
|
245186f2a0
|
Fixing some small memory related issues - uninitialized variable, RESVG initialization only for svg files, Close QtImageReader on destructor, erase allocated_effects and allocated_clips.
|
2022-10-10 11:17:53 -05:00 |
|
Jonathan Thomas
|
32a89cfce9
|
Add lock to new Clear() method to prevent crashes
|
2022-10-06 21:59:11 -05:00 |
|
Jonathan Thomas
|
934ca786ed
|
Adding new Clear() method to Timeline, to delete all allocated clips, effects, and frame mapeprs (freeing memory). Also, keep track of allocated clips and effects on timeline (when using SetJson to create them), so we can clean them up correctly on Clear() or RemoveClip()/RemoveEffect(). Added new test case for Clear().
|
2022-10-06 15:07:31 -05:00 |
|
Jonathan Thomas
|
8ac1589b2d
|
Optimizing caching thread to exclude frames where no clips exist, and simplify some of the caching loop logic
|
2022-10-04 18:35:16 -05:00 |
|
Jonathan Thomas
|
23da61bf84
|
Merge pull request #851 from OpenShot/fix-hasvideo-override
Refactor of Packet tracking & EOF detection
|
2022-09-27 17:59:06 -05:00 |
|
Jonathan Thomas
|
ec79c92f12
|
Refactor of packet counting and EOF detection. Instead of tracking overall packets read & decoded, we now track per stream (video and audio), so we can more accurately know when a packet is still pending for one of those streams (i.e. async decoding)
|
2022-09-26 19:06:03 -05:00 |
|
Jonathan Thomas
|
01900819bb
|
Merge pull request #849 from OpenShot/fix-hasvideo-override
Fixing infinite loop caused by override of has_video/has_audio
|
2022-09-24 15:06:48 -05:00 |
|
Jonathan Thomas
|
5f6998d933
|
Fixing whitespace
|
2022-09-24 14:49:53 -05:00 |
|
Jonathan Thomas
|
906a5af9b0
|
Increasing max_attempts to prevent failures on Seeking from far away positions
|
2022-09-24 14:36:26 -05:00 |
|
Jonathan Thomas
|
285b4952fe
|
Fixing behavior of manual override of has_video or has_audio, to remove unused packets, and not get stuck in an endless loop due to 1 or 2 pending packets that are no longer needed after the override.
|
2022-09-24 14:06:36 -05:00 |
|
JacksonRG
|
87da5db84a
|
Merge pull request #848 from OpenShot/multi-line-captions
Allow intentional line breaks
|
2022-09-22 16:03:27 -05:00 |
|
Jonathan Thomas
|
239444ac4a
|
Merge pull request #847 from OpenShot/improved-caching
Improved Caching Support (libopenshot)
|
2022-09-22 14:43:28 -05:00 |
|
jackson
|
c023d29bed
|
Allow intentional line breaks
|
2022-09-22 01:30:06 -05:00 |
|
Jonathan Thomas
|
969a2015bf
|
Increasing max video cache frames, moving percentage-ahead caching to a setting, fixing a calculation error on bytes per frame
|
2022-09-20 16:55:07 -05:00 |
|
Jonathan Thomas
|
16dc5408cc
|
Fixing white space issue
|
2022-09-16 10:34:30 -05:00 |
|
Jonathan Thomas
|
95100f2ac4
|
Fixing white space issue
|
2022-09-16 10:32:38 -05:00 |
|
Jonathan Thomas
|
6ecc8b8998
|
Fixing white space issue
|
2022-09-16 10:21:54 -05:00 |
|
Jonathan Thomas
|
5d6441542b
|
Fixing white space issue
|
2022-09-16 10:12:48 -05:00 |
|
Jonathan Thomas
|
8c7b463e38
|
Improvements to the ClearAllCache() function, allowing both shallow and deep clearing. Lots of bug fixes in VideoCacheThread, to correctly pre-roll and cache the correct frames, and a new method of disabling/enabling the cache thread.
|
2022-09-15 18:33:06 -05:00 |
|
Jonathan Thomas
|
8a3e2eb2d0
|
Refactor of cache code, and fixed a crash generating Json from an empty cache object.
|
2022-09-15 18:29:43 -05:00 |
|
Jonathan Thomas
|
7c2a205d5e
|
Adding new settings, to control how video caching works, and how many frames to pre-roll and cache
|
2022-09-15 17:53:44 -05:00 |
|
JacksonRG
|
5b6d3ce891
|
Merge pull request #846 from OpenShot/correct-timeline-frame-numbers
Frame Numbers: subtract the start value from the timeline frame number.
|
2022-09-15 17:12:34 -05:00 |
|
jackson
|
af1117b244
|
Subtract the start value from the timeline frame number.
|
2022-09-14 13:37:20 -05:00 |
|