mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 06:05:32 +01: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,
|
||||
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{
|
||||
CFStringRef kCVImageBufferColorPrimaries_ITU_R_2020;
|
||||
CFStringRef kCVImageBufferTransferFunction_ITU_R_2020;
|
||||
|
||||
Reference in New Issue
Block a user