[FFmpeg-cvslog] lavc/videotoolboxenc: fix RGB support

rcombs git at videolan.org
Thu Dec 23 02:44:56 EET 2021


ffmpeg | branch: master | rcombs <rcombs at rcombs.me> | Thu Dec 16 17:26:41 2021 -0600| [7644c6224f327de23d2532d879aa36a31fe46bf4] | committer: rcombs

lavc/videotoolboxenc: fix RGB support

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7644c6224f327de23d2532d879aa36a31fe46bf4
---

 libavcodec/videotoolboxenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index fa8f717a6c..96e987c446 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -996,6 +996,7 @@ static int get_cv_ycbcr_matrix(AVCodecContext *avctx, CFStringRef *matrix) {
             break;
 
         case AVCOL_SPC_UNSPECIFIED:
+        case AVCOL_SPC_RGB:
             *matrix = NULL;
             break;
 



More information about the ffmpeg-cvslog mailing list