aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-10-25 23:56:27 -0300
committerJames Almer <jamrial@gmail.com>2024-10-25 23:57:14 -0300
commitc76d92b2e068cf0a415b5bd19101657aff0ca730 (patch)
tree9f8bb4ff9c2376fc8fa04c1be35b900a59e4b4cf
parentfaec8763e8611e73cf99a56aa3ddfbf88d89a58f (diff)
downloadffmpeg-c76d92b2e068cf0a415b5bd19101657aff0ca730.tar.gz
libavutil/hwcontext_dxva2: use the Y216 pixel format
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavutil/hwcontext_dxva2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_dxva2.c b/libavutil/hwcontext_dxva2.c
index 0b76966ebf..d73799ec39 100644
--- a/libavutil/hwcontext_dxva2.c
+++ b/libavutil/hwcontext_dxva2.c
@@ -93,7 +93,7 @@ static const struct {
{ MKTAG('Y', '2', '1', '0'), AV_PIX_FMT_Y210 },
{ 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', '2', '1', '6'), AV_PIX_FMT_Y216 },
{ MKTAG('Y', '4', '1', '6'), AV_PIX_FMT_XV36 },
{ D3DFMT_P8, AV_PIX_FMT_PAL8 },
{ D3DFMT_A8R8G8B8, AV_PIX_FMT_BGRA },