[FFmpeg-cvslog] avcodec/videotoolboxenc: Allow full range 10bit pixel format input

Harry Mallon git at videolan.org
Tue Sep 29 03:48:13 EEST 2020


ffmpeg | branch: master | Harry Mallon <harry.mallon at codex.online> | Mon Sep 21 12:16:59 2020 +0100| [e16788a32398e5199d61e79c8784f4523eadc001] | committer: Rick Kern

avcodec/videotoolboxenc: Allow full range 10bit pixel format input

Signed-off-by: Harry Mallon <harry.mallon at codex.online>
Signed-off-by: Rick Kern <kernrj at gmail.com>

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

 libavcodec/videotoolboxenc.c | 1 -
 1 file changed, 1 deletion(-)

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);
     }



More information about the ffmpeg-cvslog mailing list