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
3939 enum { kCMVideoCodecType_HEVC = 'hvc1' };
4040 #endif
4141
42+#if !HAVE_KCVPIXELFORMATTYPE_420YPCBCR10BIPLANARVIDEORANGE
43+enum { kCVPixelFormatType_420YpCbCr10BiPlanarFullRange = 'xf20' };
44+enum { kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange = 'x420' };
45+#endif
46+
4247 typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,
4348 size_t parameterSetIndex,
4449 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