mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user