You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavc/videotoolboxenc: better compat_keys documentation
Added documentation that describes when compat_keys should be used, and why it exists. Signed-off-by: Rick Kern <kernrj@gmail.com>
This commit is contained in:
@@ -63,7 +63,11 @@ typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,
|
|||||||
size_t *parameterSetCountOut,
|
size_t *parameterSetCountOut,
|
||||||
int *NALUnitHeaderLengthOut);
|
int *NALUnitHeaderLengthOut);
|
||||||
|
|
||||||
//These symbols may not be present
|
/*
|
||||||
|
* Keys that are not present in all versions of VideoToolbox need to be
|
||||||
|
* accessed from compat_keys, or it will cause compiler errors when compiling
|
||||||
|
* for older OS versions.
|
||||||
|
*/
|
||||||
static struct{
|
static struct{
|
||||||
CFStringRef kCVImageBufferColorPrimaries_ITU_R_2020;
|
CFStringRef kCVImageBufferColorPrimaries_ITU_R_2020;
|
||||||
CFStringRef kCVImageBufferTransferFunction_ITU_R_2020;
|
CFStringRef kCVImageBufferTransferFunction_ITU_R_2020;
|
||||||
|
Reference in New Issue
Block a user