From a4350cecfcd5a45e7c77d85e67f43ece51021771 Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Fri, 9 Oct 2020 17:18:45 +0300 Subject: [PATCH 1/3] Fix typo SGClock+Internal.h --- SGPlayer/Classes/Core/SGRenderer/SGClock+Internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 777e5f75a247f687e49badf5cfec065a545c3121 Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Fri, 9 Oct 2020 17:19:48 +0300 Subject: [PATCH 2/3] Fix typo SGClock.m --- SGPlayer/Classes/Core/SGRenderer/SGClock.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; }); } From 71187b4c253ca2e2aae8c87be710bafc420e8413 Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Fri, 9 Oct 2020 17:20:58 +0300 Subject: [PATCH 3/3] Fix typo SGPlayer.m --- SGPlayer/Classes/SGPlayer.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;