mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 14:00:43 +00:00
avutil/hwcontext_videotoolbox: BGRA should be full range
HEVC alpha layer encoding is broken without the patch. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
0ef85a5471
commit
e7aca339ce
@ -44,7 +44,7 @@ static const struct {
|
||||
} cv_pix_fmts[] = {
|
||||
{ kCVPixelFormatType_420YpCbCr8Planar, false, AV_PIX_FMT_YUV420P },
|
||||
{ kCVPixelFormatType_422YpCbCr8, false, AV_PIX_FMT_UYVY422 },
|
||||
{ kCVPixelFormatType_32BGRA, false, AV_PIX_FMT_BGRA },
|
||||
{ kCVPixelFormatType_32BGRA, true, AV_PIX_FMT_BGRA },
|
||||
#ifdef kCFCoreFoundationVersionNumber10_7
|
||||
{ kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, false, AV_PIX_FMT_NV12 },
|
||||
{ kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, true, AV_PIX_FMT_NV12 },
|
||||
|
Loading…
Reference in New Issue
Block a user