mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec: Add more kCVImageBufferColorPrimaries to videotoolboxenc
Signed-off-by: Rick Kern <kernrj@gmail.com>
This commit is contained in:
parent
315a4496ea
commit
5e0a3278bb
@ -894,6 +894,14 @@ static int get_cv_color_primaries(AVCodecContext *avctx,
|
||||
*primaries = NULL;
|
||||
break;
|
||||
|
||||
case AVCOL_PRI_BT470BG:
|
||||
*primaries = kCVImageBufferColorPrimaries_EBU_3213;
|
||||
break;
|
||||
|
||||
case AVCOL_PRI_SMPTE170M:
|
||||
*primaries = kCVImageBufferColorPrimaries_SMPTE_C;
|
||||
break;
|
||||
|
||||
case AVCOL_PRI_BT709:
|
||||
*primaries = kCVImageBufferColorPrimaries_ITU_R_709_2;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user