AVPlayer not rendering to its AVPlayerLayer
问题 I have a AVPlayerLayer (subclass of CALayer) and I need to get in into a image type that can be passed to a QCRenderer (QCRenderer accepts NSImages and CIImages.) I can convert the CALayer to a CGImageRef, and that to an NSImage, but the contents is always clear. I've narrowed it down to one of two reasons: I am not creating the NSImage correctly. The AVPlayer is not rendering to the AVPlayerLayer. I am not receiving any errors, and have found some documentation on converting CALayers. Also,