You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec: Add more kCVImageBufferColorPrimaries to videotoolboxenc
Signed-off-by: Rick Kern <kernrj@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user