diff --git a/SGPlayer/Classes/Core/SGRenderer/SGClock+Internal.h b/SGPlayer/Classes/Core/SGRenderer/SGClock+Internal.h index 2d6a5cd8..0d287114 100644 --- a/SGPlayer/Classes/Core/SGRenderer/SGClock+Internal.h +++ b/SGPlayer/Classes/Core/SGRenderer/SGClock+Internal.h @@ -70,6 +70,6 @@ /** * */ -- (void)clock:(SGClock *)clock didChcnageCurrentTime:(CMTime)currentTime; +- (void)clock:(SGClock *)clock didChangeCurrentTime:(CMTime)currentTime; @end diff --git a/SGPlayer/Classes/Core/SGRenderer/SGClock.m b/SGPlayer/Classes/Core/SGRenderer/SGClock.m index ade7ef56..6bf2cf58 100644 --- a/SGPlayer/Classes/Core/SGRenderer/SGClock.m +++ b/SGPlayer/Classes/Core/SGRenderer/SGClock.m @@ -83,7 +83,7 @@ - (void)setAudioTime:(CMTime)time running:(BOOL)running CMTimebaseSetTime(self->_audioTimebase, time); CMTimebaseSetTime(self->_videoTimebase, time); } - [self.delegate clock:self didChcnageCurrentTime:time]; + [self.delegate clock:self didChangeCurrentTime:time]; } else if (self->_audioRunning != running) { self->_audioRunning = running; CMTimebaseSetRate(self->_audioTimebase, running ? 1.0 : 0.0); @@ -101,7 +101,7 @@ - (void)setVideoTime:(CMTime)time CMTimebaseSetTime(self->_videoTimebase, time); CMTimebaseSetRate(self->_videoTimebase, 1.0); } - [self.delegate clock:self didChcnageCurrentTime:time]; + [self.delegate clock:self didChangeCurrentTime:time]; }); } diff --git a/SGPlayer/Classes/SGPlayer.m b/SGPlayer/Classes/SGPlayer.m index 763e077a..4130e19d 100644 --- a/SGPlayer/Classes/SGPlayer.m +++ b/SGPlayer/Classes/SGPlayer.m @@ -469,7 +469,7 @@ - (BOOL)seekToTime:(CMTime)time toleranceBefor:(CMTime)toleranceBefor toleranceA #pragma mark - SGClockDelegate -- (void)clock:(SGClock *)clock didChcnageCurrentTime:(CMTime)currentTime +- (void)clock:(SGClock *)clock didChangeCurrentTime:(CMTime)currentTime { SGLockEXE10(self->_lock, ^SGBlock { SGInfoAction action = SGInfoActionNone;