mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avcodec/videotoolboxenc: Allow full range 10bit pixel format input
Signed-off-by: Harry Mallon <harry.mallon@codex.online> Signed-off-by: Rick Kern <kernrj@gmail.com>
This commit is contained in:
parent
80384a6ec3
commit
e16788a323
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user