[FFmpeg-devel] [PATCH 7/7] libavutil/hwcontext_d3d11va: use the XV48 pixel format

James Almer jamrial at gmail.com
Wed Oct 23 22:36:48 EEST 2024


Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavutil/hwcontext_dxva2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/hwcontext_dxva2.c b/libavutil/hwcontext_dxva2.c
index 0b76966ebf..acf7d4d798 100644
--- a/libavutil/hwcontext_dxva2.c
+++ b/libavutil/hwcontext_dxva2.c
@@ -94,7 +94,7 @@ static const struct {
     { MKTAG('Y', '4', '1', '0'), AV_PIX_FMT_XV30 },
     { MKTAG('P', '0', '1', '6'), AV_PIX_FMT_P012 },
     { MKTAG('Y', '2', '1', '6'), AV_PIX_FMT_Y212 },
-    { MKTAG('Y', '4', '1', '6'), AV_PIX_FMT_XV36 },
+    { MKTAG('Y', '4', '1', '6'), AV_PIX_FMT_XV48 },
     { D3DFMT_P8,                 AV_PIX_FMT_PAL8 },
     { D3DFMT_A8R8G8B8,           AV_PIX_FMT_BGRA },
 };
-- 
2.47.0



More information about the ffmpeg-devel mailing list