[FFmpeg-cvslog] libavutil/hwcontext_dxva2: use the XV48 pixel format

James Almer git at videolan.org
Sat Oct 26 06:05:42 EEST 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Oct 23 16:30:58 2024 -0300| [dad3d9800df669ba20dcc0dc356bfae5a7b7a39a] | committer: James Almer

libavutil/hwcontext_dxva2: use the XV48 pixel format

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavutil/hwcontext_d3d11va.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/hwcontext_d3d11va.c b/libavutil/hwcontext_d3d11va.c
index ecf4207b3c..9d81effe5e 100644
--- a/libavutil/hwcontext_d3d11va.c
+++ b/libavutil/hwcontext_d3d11va.c
@@ -103,7 +103,7 @@ static const struct {
     { DXGI_FORMAT_Y410,         AV_PIX_FMT_XV30 },
     { DXGI_FORMAT_P016,         AV_PIX_FMT_P012 },
     { DXGI_FORMAT_Y216,         AV_PIX_FMT_Y216 },
-    { DXGI_FORMAT_Y416,         AV_PIX_FMT_XV36 },
+    { DXGI_FORMAT_Y416,         AV_PIX_FMT_XV48 },
     // Special opaque formats. The pix_fmt is merely a place holder, as the
     // opaque format cannot be accessed directly.
     { DXGI_FORMAT_420_OPAQUE,   AV_PIX_FMT_YUV420P },



More information about the ffmpeg-cvslog mailing list