libavutil/hwcontext_d3d11va: use the XV48 pixel format

Signed-off-by: James Almer <jamrial@gmail.com>
master
James Almer 2 months ago
parent dad3d9800d
commit ca71b0b807
  1. 3
      libavutil/hwcontext_dxva2.c

@ -94,7 +94,8 @@ static const struct {
{ MKTAG('Y', '4', '1', '0'), AV_PIX_FMT_XV30 }, { MKTAG('Y', '4', '1', '0'), AV_PIX_FMT_XV30 },
{ MKTAG('P', '0', '1', '6'), AV_PIX_FMT_P012 }, { MKTAG('P', '0', '1', '6'), AV_PIX_FMT_P012 },
{ MKTAG('Y', '2', '1', '6'), AV_PIX_FMT_Y216 }, { MKTAG('Y', '2', '1', '6'), AV_PIX_FMT_Y216 },
{ MKTAG('Y', '4', '1', '6'), AV_PIX_FMT_XV36 }, { MKTAG('Y', '4', '1', '6'), AV_PIX_FMT_XV48 },
{ MKTAG('Y', '2', '1', '6'), AV_PIX_FMT_Y212 },
{ D3DFMT_P8, AV_PIX_FMT_PAL8 }, { D3DFMT_P8, AV_PIX_FMT_PAL8 },
{ D3DFMT_A8R8G8B8, AV_PIX_FMT_BGRA }, { D3DFMT_A8R8G8B8, AV_PIX_FMT_BGRA },
}; };

Loading…
Cancel
Save