History

libavcodec/videotoolboxenc: Fix compilation broken on macOS 10.12

Limin Wang committed 7 years ago

Commit 268ab171 parent 756dd981 file · +5 −0Browse files

Unified · Split

libavcodec/videotoolboxenc.c+5−0
@@ -39,6 +39,11 @@ · 38 unmodified lines
39enum { kCMVideoCodecType_HEVC = 'hvc1' };39enum { kCMVideoCodecType_HEVC = 'hvc1' };
40#endif40#endif
41 41
42#if !HAVE_KCVPIXELFORMATTYPE_420YPCBCR10BIPLANARVIDEORANGE
43enum { kCVPixelFormatType_420YpCbCr10BiPlanarFullRange = 'xf20' };
44enum { kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange = 'x420' };
45#endif
46
42typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,47typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,
43 size_t parameterSetIndex,48 size_t parameterSetIndex,
44 const uint8_t **parameterSetPointerOut,49 const uint8_t **parameterSetPointerOut,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t