VSE: Fix sound strip not aligned with movie strip

Strip aligning wasn't done when length of 2 strip is equal, but since
these strips are aligned according to position in stream this can
produce offset.
This commit is contained in:
Richard Antalik 2022-02-09 16:04:35 +01:00
parent e098a29606
commit 3e67831d3f
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ static void sequencer_add_movie_clamp_sound_strip_length(Scene *scene,
Sequence *seq_movie,
Sequence *seq_sound)
{
if (ELEM(NULL, seq_movie, seq_sound) || seq_sound->len <= seq_movie->len) {
if (ELEM(NULL, seq_movie, seq_sound)) {
return;
}