aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-10-21 22:24:42 -0300
committerJames Almer <jamrial@gmail.com>2024-10-25 23:57:16 -0300
commite1bacfb5235f0a29215d299d224a58c218365711 (patch)
tree40c2b7f99250675123c43ed7f7b60c8c5583ddd8
parentc76d92b2e068cf0a415b5bd19101657aff0ca730 (diff)
downloadffmpeg-e1bacfb5235f0a29215d299d224a58c218365711.tar.gz
libavutil/hwcontext_d3d11va: use the Y216 pixel format
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavutil/hwcontext_d3d11va.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_d3d11va.c b/libavutil/hwcontext_d3d11va.c
index 9b3c5f389f..ecf4207b3c 100644
--- a/libavutil/hwcontext_d3d11va.c
+++ b/libavutil/hwcontext_d3d11va.c
@@ -102,7 +102,7 @@ static const struct {
{ DXGI_FORMAT_Y210, AV_PIX_FMT_Y210 },
{ DXGI_FORMAT_Y410, AV_PIX_FMT_XV30 },
{ DXGI_FORMAT_P016, AV_PIX_FMT_P012 },
- { DXGI_FORMAT_Y216, AV_PIX_FMT_Y212 },
+ { DXGI_FORMAT_Y216, AV_PIX_FMT_Y216 },
{ DXGI_FORMAT_Y416, AV_PIX_FMT_XV36 },
// Special opaque formats. The pix_fmt is merely a place holder, as the
// opaque format cannot be accessed directly.