DNESS / cocos2d-iphone

Automatically exported from code.google.com/p/cocos2d-iphone
1 stars 0 forks source link

director session somehow inteferes with AVCaptureVideoPreviewLayer #1486

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
have a AVCaptureVideoPreviewLayer in your app, underneath the director's opengl 
view (with alpha transparency).
2.
remove the AVCaptureVideoPreviewLayer, and reinstantiate it.
3.
add it again

What is the expected output? What do you see instead?
the AVCaptureVideoPreviewLayer should work fine - but it doesn't - it doesn't 
show video and is corrupt.
if I do the exact same thing without having a director running it works 100% 
every single time, so it must be that cocos2d's director is doing something it 
shouldn't be doing.

What cocos2d version are you using ?
2.02

What iOS / Mac SDK are you using ?
6.3

Debug or Release ?
debug

Which target device / target OS are you using ?
ios 6.0

iOS only: Does this happens on device ? or on the simulator ? or on both ?
device

Mac only: x86 or i386 ?

Please provide any additional information below.

Original issue reported on code.google.com by geo...@tantawowa.com on 19 Apr 2013 at 8:21

GoogleCodeExporter commented 8 years ago
Sorry - this can be closed - if you put them in different views there is no 
interference.

Original comment by geo...@tantawowa.com on 20 Apr 2013 at 3:52