Skip to content

Commit

Permalink
chore: kickoff release
Browse files Browse the repository at this point in the history
  • Loading branch information
phantumcode authored Feb 8, 2024
2 parents 400e45d + 5df18a1 commit 27a2683
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/FaceLiveness/AV/VideoChunker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ final class VideoChunker {
state = .awaitingSingleFrame

// explicitly calling `endSession` is unnecessary
assetWriter.finishWriting {}
if state != .complete {
assetWriter.finishWriting {}
}
}

func consume(_ buffer: CMSampleBuffer) {
Expand Down

0 comments on commit 27a2683

Please sign in to comment.