fix inverted cond in combining

This commit is contained in:
Scott Lamb 2024-02-12 18:04:47 -08:00
parent 1f7c4c184a
commit eef18372cc
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export function combine(
cur.height === vse.height && cur.height === vse.height &&
cur.aspectWidth === vse.aspectWidth && cur.aspectWidth === vse.aspectWidth &&
cur.aspectHeight === vse.aspectHeight && cur.aspectHeight === vse.aspectHeight &&
(split90k === undefined || r.endTime90k - cur.startTime90k <= split90k) (split90k === undefined || cur.endTime90k - r.startTime90k <= split90k)
) { ) {
cur.startId = r.startId; cur.startId = r.startId;
cur.firstUncommitted == r.firstUncommitted ?? cur.firstUncommitted; cur.firstUncommitted == r.firstUncommitted ?? cur.firstUncommitted;