Skip to content

Commit

Permalink
Remove redundant pause call
Browse files Browse the repository at this point in the history
  • Loading branch information
qubblr committed Nov 18, 2019
1 parent 53cee49 commit d67e7d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/Player.swift
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,6 @@ extension Player {
self.executeClosureOnMainQueueIfNecessary {
if self.playbackLoops {
self.playbackDelegate?.playerPlaybackWillLoop(self)
self._avplayer.pause()
self._avplayer.seek(to: CMTime.zero)
self._avplayer.play()
self.playbackDelegate?.playerPlaybackDidLoop(self)
Expand Down

0 comments on commit d67e7d7

Please sign in to comment.