mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-02-20 10:02:32 -05:00
fix bug spotted by newer typescript
This commit is contained in:
parent
0bfa09b1f1
commit
c75292e43b
@ -78,7 +78,9 @@ export function combine(
|
||||
(split90k === undefined || cur.endTime90k - r.startTime90k <= split90k)
|
||||
) {
|
||||
cur.startId = r.startId;
|
||||
cur.firstUncommitted == r.firstUncommitted ?? cur.firstUncommitted;
|
||||
if (r.firstUncommitted !== undefined) {
|
||||
cur.firstUncommitted = r.firstUncommitted;
|
||||
}
|
||||
cur.startTime90k = r.startTime90k;
|
||||
cur.videoSamples += r.videoSamples;
|
||||
cur.sampleFileBytes += r.sampleFileBytes;
|
||||
|
Loading…
x
Reference in New Issue
Block a user