Skip to content

Commit

Permalink
Fix some videos not compositing
Browse files Browse the repository at this point in the history
  • Loading branch information
finnvoor committed Jan 28, 2024
1 parent f210dc6 commit cdb9b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Upscaling/UpscalingCompositor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public final class UpscalingCompositor: NSObject, AVVideoCompositing {

public func startRequest(_ asyncVideoCompositionRequest: AVAsynchronousVideoCompositionRequest) {
guard let trackID = asyncVideoCompositionRequest.sourceTrackIDs.first else {
asyncVideoCompositionRequest.finish(with: Error.couldNotGetSourceTrackID)
asyncVideoCompositionRequest.finishCancelledRequest()
return
}
guard let sourceFrame = asyncVideoCompositionRequest.sourceFrame(
Expand Down

0 comments on commit cdb9b27

Please sign in to comment.