piemonte / PBJVision

📸 iOS Media Capture – features touch-to-record video, slow motion, and photography

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad access using didCaptureVideoSampleBuffer

cdiscla opened this issue · comments

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

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