I am trying to use AVFoundation to capture display with AVCaptureScreenInput and AVCaptureStillImageOutput. After all I got a CMSampleBufferRef.
CMSapleBufferGet* should take a CMSampleBufferRef and return the attribute but insted gives a ValueError
ValueError: depythonifying 'pointer', got 'CMSampleBufferRef'
I am new to pyobjc, this might just be I am not using the bridge correctly.
This will work if the Type Encoding is changed for CMSapleBufferGet* functions.