|
@@ -469,7 +469,7 @@ NSString *const QGMP4HWDErrorDomain = @"QGMP4HWDErrorDomain";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//decode callback
|
|
//decode callback
|
|
|
-void didDecompress(void *decompressionOutputRefCon, void *sourceFrameRefCon, OSStatus status, VTDecodeInfoFlags infoFlags, CVImageBufferRef pixelBuffer, CMTime presentationTimeStamp, CMTime presentationDuration ){
|
|
|
|
|
|
|
+static void didDecompress(void *decompressionOutputRefCon, void *sourceFrameRefCon, OSStatus status, VTDecodeInfoFlags infoFlags, CVImageBufferRef pixelBuffer, CMTime presentationTimeStamp, CMTime presentationDuration ){
|
|
|
|
|
|
|
|
CVPixelBufferRef *outputPixelBuffer = (CVPixelBufferRef *)sourceFrameRefCon;
|
|
CVPixelBufferRef *outputPixelBuffer = (CVPixelBufferRef *)sourceFrameRefCon;
|
|
|
*outputPixelBuffer = CVPixelBufferRetain(pixelBuffer);
|
|
*outputPixelBuffer = CVPixelBufferRetain(pixelBuffer);
|