vo_gpu: hwdec_d3d11egl: add missing P010 format to supported list

This was obviously missing from the recent commit, which probably broke
10 bit decoding. The original commit didn't test this for lack of
working hardware; this commit isn't tested either.

Fixes: a1c7d61393
This commit is contained in:
wm4 2019-10-17 22:45:05 +02:00
parent 77fd4dd681
commit c75e0320f6
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ static int init(struct ra_hwdec *hw)
ID3D10Multithread_SetMultithreadProtected(multithread, TRUE);
ID3D10Multithread_Release(multithread);
static const int subfmts[] = {IMGFMT_NV12, 0};
static const int subfmts[] = {IMGFMT_NV12, IMGFMT_P010, 0};
p->hwctx = (struct mp_hwdec_ctx){
.driver_name = hw->driver->name,
.av_device_ref = d3d11_wrap_device_ref(p->d3d11_device),