Commit 5e0a3278 authored by Nomis101's avatar Nomis101 Committed by Rick Kern

avcodec: Add more kCVImageBufferColorPrimaries to videotoolboxenc

Signed-off-by: 's avatarRick Kern <kernrj@gmail.com>
parent 315a4496
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment