From e16788a32398e5199d61e79c8784f4523eadc001 Mon Sep 17 00:00:00 2001 From: Harry Mallon Date: Mon, 21 Sep 2020 12:16:59 +0100 Subject: avcodec/videotoolboxenc: Allow full range 10bit pixel format input Signed-off-by: Harry Mallon Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/videotoolboxenc.c') diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 212f41b19a..fe0c98300b 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -789,7 +789,6 @@ static int get_cv_pixel_format(AVCodecContext* avctx, *av_pixel_format = range == AVCOL_RANGE_JPEG ? kCVPixelFormatType_420YpCbCr10BiPlanarFullRange : kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange; - *av_pixel_format = kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange; } else { return AVERROR(EINVAL); } -- cgit v1.2.3