piemonte / PBJVision

📸 iOS Media Capture – features touch-to-record video, slow motion, and photography
MIT License
1.93k stars 324 forks source link

Bad access using didCaptureVideoSampleBuffer #319

Closed cdiscla closed 8 years ago

cdiscla commented 8 years ago

Hello, if i try to handle the recorded time using didCaptureVideoSampleBuffer i get (after 2-3 seconds from start recording) a "EXC_BAD_ACCESS" error on

[self _enqueueBlockOnMainQueue:^{ if ([_delegate respondsToSelector:@selector(vision:didCaptureVideoSampleBuffer:)]) { [_delegate vision:self didCaptureVideoSampleBuffer:bufferToWrite]; } }];

I use swift and, if i don't add the didCaptureVideoSample it runs fine. The problem is that i need to see the recorded time using a progress indicator. Can anyone help me? Thanks in advance ! Greetings

cdiscla commented 8 years ago

Close because i've seen that it's open as bug #254