Skip to content

Commit

Permalink
apply code review nit
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMoch committed Jan 4, 2024
1 parent 088949e commit a375749
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ios/Video/Features/RCTPlayerObserver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ class RCTPlayerObserver: NSObject, AVPlayerItemMetadataOutputPushDelegate {
}

func metadataOutput(_: AVPlayerItemMetadataOutput, didOutputTimedMetadataGroups groups: [AVTimedMetadataGroup], from _: AVPlayerItemTrack?) {
guard let _handlers else { return }

for metadataGroup in groups {
_handlers?.handleTimeMetadataChange(timedMetadata: metadataGroup.items)
_handlers.handleTimeMetadataChange(timedMetadata: metadataGroup.items)
}
}

Expand Down

0 comments on commit a375749

Please sign in to comment.