Reply To: AVFoundation to Syphon

Home Forums Syphon Syphon Development – Developer AVFoundation to Syphon Reply To: AVFoundation to Syphon

#59113
vade
Keymaster

I think you’re fine to specify the pixel format to 32 BGRA. You’d have to manually handle the native case and switch on the pixel format of the vended pixel buffer and draw each case, which is a royal pain in the ass.

I don’t think you need to.

And I think you can remove the flush. As for the takeUnretainedValue – I’m honestly not sufficiently knowledgable about swifts memory semantics to know.

Just try removing it, and see what happens. 🙂