mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +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:
parent
5cd304298e
commit
c789a2324a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user