Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Notify on seek
Browse files Browse the repository at this point in the history
  • Loading branch information
cbenhagen authored Oct 22, 2021
1 parent 33f1c9a commit 9e9aec7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ - (void)seekTo:(int)location {
[_player seekToTime:CMTimeMake(location, 1000)
toleranceBefore:kCMTimeZero
toleranceAfter:kCMTimeZero];
dispatch_async(dispatch_get_main_queue(), ^{
[self notifyIfFrameAvailable];
});
}

- (void)setIsLooping:(bool)isLooping {
Expand Down

0 comments on commit 9e9aec7

Please sign in to comment.