|
@@ -1344,8 +1344,10 @@
|
|
|
|
|
|
[self.recordTimer invalidate];
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
- self.recordTimer = [NSTimer timerWithTimeInterval:0.2 repeats:YES block:^(NSTimer * _Nonnull timer) {
|
|
|
- [self.timerLabel updateWith:self.movieFileOutput.recordedDuration.value / self.movieFileOutput.recordedDuration.timescale];
|
|
|
+ self.recordTimer = [NSTimer timerWithTimeInterval:0 repeats:YES block:^(NSTimer * _Nonnull timer) {
|
|
|
+ if (self.movieFileOutput.recordedDuration.timescale > 600) {
|
|
|
+ [self.timerLabel updateWith:self.movieFileOutput.recordedDuration.value / self.movieFileOutput.recordedDuration.timescale];
|
|
|
+ }
|
|
|
}];
|
|
|
[[NSRunLoop currentRunLoop] addTimer:self.recordTimer forMode:NSDefaultRunLoopMode];
|
|
|
});
|