CGBitmapContextCreateImage: invalid context 0x0. 解决方案

未设置 输出Output (AVCaptureVideoDataOutput) output.videoSettings = [NSDictionary dictionaryWithObject: [NSNumber numberWithInt:kCVPixelFormatType_32BGRA] forKey: (id)kCVPixelBufferPixelFormatTypeKey];

你可能感兴趣的:(CGBitmapContextCreateImage: invalid context 0x0. 解决方案)