Commit 6c2a5c15 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix blank length calculation allowing incorrect 1 frame overlap in some cases

parent 59cc1202
......@@ -1232,7 +1232,7 @@ int TrackModel::getBlankEnd(int position, int track)
int count = m_playlists[track].count();
if (clip_index < count) {
int blank_start = m_playlists[track].clip_start(clip_index);
int blank_length = m_playlists[track].clip_length(clip_index);
int blank_length = m_playlists[track].clip_length(clip_index) - 1;
return blank_start + blank_length;
}
return INT_MAX;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment