Skip to content

Commit

Permalink
Fix Xcode 14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Jan 12, 2025
1 parent 3f3d3dd commit 708464e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/LiveKit/Track/Capturers/VideoCapturer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,14 @@ extension VideoCapturer {

var rtcFrame: LKRTCVideoFrame = frame
guard var lkFrame: VideoFrame = frame.toLKType() else {
log("Failed to convert a RTCVideoFrame to VideoFrame.", .error)
self.log("Failed to convert a RTCVideoFrame to VideoFrame.", .error)
return
}

// Apply processing if we have a processor attached.
if let processor = self._state.processor {
guard let processedFrame = processor.process(frame: lkFrame) else {
log("VideoProcessor didn't return a frame, skipping frame.", .warning)
self.log("VideoProcessor didn't return a frame, skipping frame.", .warning)
return
}
lkFrame = processedFrame
Expand Down

0 comments on commit 708464e

Please sign in to comment.