libavcodec/videotoolboxenc: Fix compilation broken on macOS 10.12
Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Rick Kern <kernrj@gmail.com>
This commit is contained in:
@@ -39,6 +39,11 @@
|
|||||||
enum { kCMVideoCodecType_HEVC = 'hvc1' };
|
enum { kCMVideoCodecType_HEVC = 'hvc1' };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !HAVE_KCVPIXELFORMATTYPE_420YPCBCR10BIPLANARVIDEORANGE
|
||||||
|
enum { kCVPixelFormatType_420YpCbCr10BiPlanarFullRange = 'xf20' };
|
||||||
|
enum { kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange = 'x420' };
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,
|
typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,
|
||||||
size_t parameterSetIndex,
|
size_t parameterSetIndex,
|
||||||
const uint8_t **parameterSetPointerOut,
|
const uint8_t **parameterSetPointerOut,
|
||||||
|
Reference in New Issue
Block a user