mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 09:52:17 +00:00
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:
parent
756dd98120
commit
268ab17c51
@ -39,6 +39,11 @@
|
||||
enum { kCMVideoCodecType_HEVC = 'hvc1' };
|
||||
#endif
|
||||
|
||||
#if !HAVE_KCVPIXELFORMATTYPE_420YPCBCR10BIPLANARVIDEORANGE
|
||||
enum { kCVPixelFormatType_420YpCbCr10BiPlanarFullRange = 'xf20' };
|
||||
enum { kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange = 'x420' };
|
||||
#endif
|
||||
|
||||
typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,
|
||||
size_t parameterSetIndex,
|
||||
const uint8_t **parameterSetPointerOut,
|
||||
|
Loading…
Reference in New Issue
Block a user