Skip to content

Commit

Permalink
lavc/videotoolboxenc: fix RGB support
Browse files Browse the repository at this point in the history
  • Loading branch information
rcombs committed Dec 23, 2021
1 parent e55db79 commit 7644c62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libavcodec/videotoolboxenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7644c62

Please sign in to comment.