diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-03-14 13:32:46 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-03-14 16:46:49 +0300 |
commit | 8c4ddd5dde3a5f5ae0375c71e379e0fac287e3e6 (patch) | |
tree | 202b4c9fe743c53307d96835b69ac9065f8a4846 /source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c | |
parent | e0241e08609aebd2ba14075a046ce3e139096ce3 (diff) |
Fix dead-lock in movie cache
Steps to reproduce:
- Add image sequence to movie clip editor.
- Set cache limit to a low value in the user preferences.
- Playback until old frames starts to be removed from cache.
- Jump to the beginning of the image sequence.
The reason of dead-lock comes from two factors:
- Due to global nature of the cache limiter calls needs to be
guarded with locks.
- Image buffers stored in the cache can have their own cache
(which is used for color management).
Didn't find a better solution than to use recursive lock.
Kind of makes sense since the thread-guardable resource is
recursive (moviecache can have nested moviecaches).
Differential Revision: https://developer.blender.org/D14331
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c')
0 files changed, 0 insertions, 0 deletions