[vlc-commits] direct3d11: log when Present() failed
Steve Lhomme
git at videolan.org
Sun Aug 21 18:14:41 CEST 2016
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Aug 12 10:21:08 2016 +0200| [cdae1f6e90b92dcc3ef1bce116fcd0326c0225e1] | committer: Jean-Baptiste Kempf
direct3d11: log when Present() failed
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cdae1f6e90b92dcc3ef1bce116fcd0326c0225e1
---
modules/video_output/win32/direct3d11.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 448abb8..92dd0fc 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -927,6 +927,7 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
if (hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET)
{
/* TODO device lost */
+ msg_Dbg(vd, "SwapChain Present failed. (hr=0x%lX)", hr);
}
#if defined(HAVE_ID3D11VIDEODECODER)
if( is_d3d11_opaque(picture->format.i_chroma) && sys->context_lock != INVALID_HANDLE_VALUE) {
More information about the vlc-commits
mailing list