diff --git a/framework/Source/iOS/GPUImageView.m b/framework/Source/iOS/GPUImageView.m index e092b80ee..5acc36c10 100755 --- a/framework/Source/iOS/GPUImageView.m +++ b/framework/Source/iOS/GPUImageView.m @@ -232,11 +232,9 @@ - (void)presentFramebuffer; - (void)recalculateViewGeometry; { + CGSize currentViewSize = self.bounds.size; runSynchronouslyOnVideoProcessingQueue(^{ CGFloat heightScaling, widthScaling; - - CGSize currentViewSize = self.bounds.size; - // CGFloat imageAspectRatio = inputImageSize.width / inputImageSize.height; // CGFloat viewAspectRatio = currentViewSize.width / currentViewSize.height;