]> git.sesse.net Git - vlc/commit
Used a CPU memory fallback when Direct3DLockSurface/DirectXLock fails.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 19 Jul 2010 20:12:30 +0000 (22:12 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 19 Jul 2010 21:14:54 +0000 (23:14 +0200)
commit9381877a72a850aa13051a91a1e86938e19b3cac
tree6f1cd309a6327aafe694cb98ea2d134a7a195d1c
parenta0530f4ab42c5e9dbd1b21e5a44c95d208254c55
Used a CPU memory fallback when Direct3DLockSurface/DirectXLock fails.

It fixes a segfault when the directx/direct3d device is lost at the wrong time
or cannot be restored soon enough (close #3647).
modules/video_output/msw/common.c
modules/video_output/msw/common.h
modules/video_output/msw/direct3d.c
modules/video_output/msw/directx.c