Video editor fixes

This commit is contained in:
Ilya Laktyushin
2020-05-26 17:33:45 +03:00
parent 0d17a8989c
commit a2e713e3ff
12 changed files with 90 additions and 63 deletions

View File

@@ -295,8 +295,6 @@ static BOOL mark = false;
[fixer invalidate];
fixer = nil;
NSLog(@"Lock, %@, count = %d", self, framebufferReferenceCount);
}
- (void)unlock
@@ -308,8 +306,6 @@ static BOOL mark = false;
NSAssert(framebufferReferenceCount > 0, @"Tried to overrelease a framebuffer, did you forget to call -useNextFrameForImageCapture before using -imageFromCurrentFramebuffer?");
framebufferReferenceCount--;
NSLog(@"Unlock, %@, count = %d", self, framebufferReferenceCount);
if (framebufferReferenceCount < 1)
{