Skip to content
This repository has been archived by the owner on Feb 11, 2019. It is now read-only.

Dispatch Queue #3

Open
iosdec opened this issue Oct 28, 2015 · 1 comment
Open

Dispatch Queue #3

iosdec opened this issue Oct 28, 2015 · 1 comment

Comments

@iosdec
Copy link

iosdec commented Oct 28, 2015

The app crashed when running the SetupAVCapture function.

To fix, replace:
self.videoDataOutputQueue = dispatch_queue_create("VideoDataOutputQueue", DISPATCH_QUEUE_SERIAL);

With:
dispatch_queue_t temp = dispatch_queue_create("VideoDataOutputQueue", DISPATCH_QUEUE_SERIAL);
self.videoDataOutputQueue = temp;

@hyd00
Copy link

hyd00 commented Jun 29, 2016

Thanks @declanland ! I was struggling as to how to make the sample work and you just saved my day!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants