[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: Add P210 to hevc_pix_fmts

AdrianEddy adrian.eddy at gmail.com
Thu Jul 11 16:01:25 EEST 2024


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

diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index 8e2a66ee4a..e9c4482b47 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -2827,6 +2827,7 @@ static const enum AVPixelFormat hevc_pix_fmts[] = {
     AV_PIX_FMT_YUV420P,
     AV_PIX_FMT_BGRA,
     AV_PIX_FMT_P010LE,
+    AV_PIX_FMT_P210,
     AV_PIX_FMT_NONE
 };
 
-- 
2.39.2



More information about the ffmpeg-devel mailing list