Skip to content

Commit

Permalink
Fixed Xcode 14 build
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Nov 1, 2023
1 parent fbd251f commit 61f8fec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extension AVAssetImageGenerator {

let requestedTime = descriptor.timecode.cmTimeValue

let result = try await imageCompat(at: requestedTime)
let result = try await self.imageCompat(at: requestedTime)
let hasImage = result.image != nil
let imageForHandlerResult = result.image ?? CGImage.empty!

Expand Down Expand Up @@ -87,7 +87,7 @@ extension AVAssetImageGenerator {
taskGroup.addTask { [weak self] in
guard let self else { return }

let result = try await imageCompat(at: requestedTime)
let result = try await self.imageCompat(at: requestedTime)
let hasImage = result.image != nil
let imageForHandlerResult = result.image ?? CGImage.empty!

Expand Down

0 comments on commit 61f8fec

Please sign in to comment.