[FFmpeg-devel] [PATCH 04/10] lavc/videotoolboxenc: fix RGB support
rcombs
rcombs at rcombs.me
Fri Dec 17 02:12:09 EET 2021
---
libavcodec/videotoolboxenc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index fa8f717a6c..e10373dded 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -1012,6 +1012,9 @@ static int get_cv_ycbcr_matrix(AVCodecContext *avctx, CFStringRef *matrix) {
*matrix = compat_keys.kCVImageBufferYCbCrMatrix_ITU_R_2020;
break;
+ case AVCOL_SPC_RGB:
+ break;
+
default:
av_log(avctx, AV_LOG_ERROR, "Color space %s is not supported.\n", av_color_space_name(avctx->colorspace));
return -1;
--
2.33.1
More information about the ffmpeg-devel
mailing list