From 416a65ab533e3e6fef109ce7160b7c0884a00b63 Mon Sep 17 00:00:00 2001 From: Yangtsing098 Date: Mon, 5 Aug 2019 21:13:11 +0800 Subject: [PATCH] =?UTF-8?q?[GPUImage][M][=E5=BC=A0=E6=9D=A8=E6=B8=85]?= =?UTF-8?q?=E6=B6=88=E9=99=A4Main=20Thread=20Checker=20=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framework/Source/iOS/GPUImageView.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;