diff --git a/sys/applemedia/cvapi.c b/sys/applemedia/cvapi.c index 518548eea3..73186f8f5b 100644 --- a/sys/applemedia/cvapi.c +++ b/sys/applemedia/cvapi.c @@ -53,6 +53,7 @@ gst_cv_api_obtain (GError ** error) SYM_SPEC (CVPixelBufferGetBytesPerRowOfPlane), SYM_SPEC (CVPixelBufferGetHeight), SYM_SPEC (CVPixelBufferGetHeightOfPlane), + SYM_SPEC (CVPixelBufferGetIOSurface), SYM_SPEC (CVPixelBufferGetPlaneCount), SYM_SPEC (CVPixelBufferGetTypeID), SYM_SPEC (CVPixelBufferIsPlanar), diff --git a/sys/applemedia/cvapi.h b/sys/applemedia/cvapi.h index 4a2cfc8d74..f1c0a12c52 100644 --- a/sys/applemedia/cvapi.h +++ b/sys/applemedia/cvapi.h @@ -91,6 +91,8 @@ struct _GstCVApi size_t (* CVPixelBufferGetHeight) (CVPixelBufferRef pixelBuffer); size_t (* CVPixelBufferGetHeightOfPlane) (CVPixelBufferRef pixelBuffer, size_t planeIndex); + void * (* CVPixelBufferGetIOSurface) + (CVPixelBufferRef pixelBuffer); size_t (* CVPixelBufferGetPlaneCount) (CVPixelBufferRef pixelBuffer); CFTypeID (* CVPixelBufferGetTypeID) (void);