xinyu
Results
1
issues of
xinyu
- (void)stopWritingWithError:(NSError **)error { self.isWriting = NO; dispatch_async(self.dispatchQueue, ^{ [self.assetWriter finishWritingWithCompletionHandler:^{ if (self.assetWriter.status == AVAssetWriterStatusCompleted) { dispatch_async(dispatch_get_main_queue(), ^{ if ([self.delegate respondsToSelector:@selector(videoWriter:didOutputVideoAtPath:)]) { [self.delegate videoWriter:self didOutputVideoAtPath:self.assetWriter.outputURL]; } }); } else {...