Commit 84abc80e authored by Steve Lhomme's avatar Steve Lhomme

[RFC] direct3d11: enable single threaded more for CPU decoding

We only use the D3D11 resources in Prepare/Display in that case.
parent 4421df67
......@@ -175,6 +175,8 @@ static inline HRESULT D3D11_CreateDevice(vlc_object_t *obj, HINSTANCE hdecoder_d
if (hw_decoding)
creationFlags |= D3D11_CREATE_DEVICE_VIDEO_SUPPORT;
else
creationFlags |= D3D11_CREATE_DEVICE_SINGLETHREADED;
#if !defined(NDEBUG)
# if !VLC_WINSTORE_APP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment