- Corrected movie clip length computation
- Ignore clip's offset for movie clip sequencer strip
This commit is contained in:
@@ -292,11 +292,11 @@ static void movieclip_calc_length(MovieClip *clip)
|
||||
clip->len = framenr + 1;
|
||||
}
|
||||
else {
|
||||
for (;; ) {
|
||||
for (;;) {
|
||||
get_sequence_fname(clip, framenr, name);
|
||||
|
||||
if (!BLI_exists(name)) {
|
||||
clip->len = framenr + 1;
|
||||
clip->len = framenr;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -2186,7 +2186,7 @@ static ImBuf *seq_render_movieclip_strip(SeqRenderData context, Sequence *seq, f
|
||||
|
||||
memset(&user, 0, sizeof(MovieClipUser));
|
||||
|
||||
BKE_movieclip_user_set_frame(&user, nr + seq->anim_startofs);
|
||||
BKE_movieclip_user_set_frame(&user, nr + seq->anim_startofs + seq->clip->start_frame);
|
||||
|
||||
user.render_size = MCLIP_PROXY_RENDER_SIZE_FULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user