vlc | branch: master | Steve Lhomme <[email protected]> | Wed Nov 29 18:26:42 2017 +0100| [633113815666c011fd69a96e9a68445981af5a41] | committer: Jean-Baptiste Kempf
hw:d3d11: Always request decoder support from the device unless forced for display On Win7 D3D11 will not be used anymore unless forced manually as it doesn't support this flag. Fixes #19140 with automatic setup. Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=633113815666c011fd69a96e9a68445981af5a41 --- modules/video_chroma/d3d11_fmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_chroma/d3d11_fmt.c b/modules/video_chroma/d3d11_fmt.c index 2d6e696c20..f9b4130ee7 100644 --- a/modules/video_chroma/d3d11_fmt.c +++ b/modules/video_chroma/d3d11_fmt.c @@ -167,7 +167,7 @@ HRESULT D3D11_CreateDevice(vlc_object_t *obj, d3d11_handle_t *hd3d, HRESULT hr = E_NOTIMPL; UINT creationFlags = 0; - if (hw_decoding) + if (hw_decoding || !obj->obj.force) creationFlags |= D3D11_CREATE_DEVICE_VIDEO_SUPPORT; #if !defined(NDEBUG) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
