Fix T94768: Crash in VSE prefetching

Only the fix part of rBf2fb9a0c59a applied (P2726).
This commit is contained in:
Richard Antalik 2022-01-17 13:07:21 +01:00 committed by Philipp Oeser
parent 688713db24
commit 9600f36cfc
Notes: blender-bot 2023-02-14 00:13:36 +01:00
Referenced by issue #94768, Video Sequencer Preview with Prefetch Frames crashes inside Meta Strip
Referenced by issue #93479, 3.0 Potential candidates for corrective releases
Referenced by issue #91944, Switching in and out of local view in rendered mode in Cycles can cause a crash in heavy scenes
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ static void *seq_prefetch_frames(void *job)
*/
pfjob->scene_eval->ed->prefetch_job = pfjob;
ListBase *seqbase = SEQ_active_seqbase_get(SEQ_editing_get(pfjob->scene));
ListBase *seqbase = SEQ_active_seqbase_get(SEQ_editing_get(pfjob->scene_eval));
if (seq_prefetch_must_skip_frame(pfjob, seqbase)) {
pfjob->num_frames_prefetched++;
continue;