obs-studio/plugins/win-capture
Richard Stanway 66ec96d52c
win-capture: Fix memory capture crash on new capture
If the target process re-creates its D3D context, the game capture tick
can trigger before the capture is setup, in which case OBS gets a
CAPTURE_RETRY message. However with the memory capture method, it
continues to try and copy from the shared memory pointer which is no
longer valid, resulting in a crash. The fix uses the old texture until
the next tick at which point the new capture should be ready for use.
2017-12-14 16:40:14 +01:00
..
d3d8-api Use _MSC_VER for MSVC-specific pragmas 2015-02-09 03:49:18 -08:00
data/locale Update translations from Crowdin 2017-08-10 16:07:40 +02:00
get-graphics-offsets get-graphics-offsets: Set error mode to SEM_FAILCRITICALERRORS 2017-06-21 17:41:26 +02:00
graphics-hook graphics-hook: blacklist OpenGL capture for "cm_client.exe" 2017-11-16 17:57:11 -08:00
inject-helper inject-helper: Set error mode to SEM_FAILCRITICALERRORS 2017-06-21 17:42:05 +02:00
CMakeLists.txt win-capture: Add ability to open UWP named kernel objects 2016-12-16 14:05:55 -08:00
app-helpers.c win-capture: Add ability to open UWP named kernel objects 2016-12-16 14:05:55 -08:00
app-helpers.h win-capture: Add ability to open UWP named kernel objects 2016-12-16 14:05:55 -08:00
cursor-capture.c win-capture: Cache cursor textures to prevent reallocation 2016-11-03 09:23:25 -07:00
cursor-capture.h win-capture: Cache cursor textures to prevent reallocation 2016-11-03 09:23:25 -07:00
dc-capture.c win-capture: Remove buffering from window capture 2017-10-02 07:36:02 -07:00
dc-capture.h win-capture: Remove buffering from window capture 2017-10-02 07:36:02 -07:00
duplicator-monitor-capture.c win-capture: Shut down win8 monitor capture when not showing 2016-05-12 17:59:01 -07:00
funchook.c win-capture: Fix case where hook only captures one frame 2016-04-14 23:45:19 -07:00
funchook.h win-capture: Add 64bit bounce to func_hook 2015-07-03 12:17:25 -07:00
game-capture.c win-capture: Fix memory capture crash on new capture 2017-12-14 16:40:14 +01:00
graphics-hook-info.h win-capture: Add IDXGISwapChain1::Present1 hook support 2017-06-19 15:45:00 -07:00
hook-helpers.h win-capture: Open UWP named objects with helper functions 2016-12-16 14:05:56 -08:00
inject-library.c win-capture: Use MEM_RESERVE to comply with VirtualAllocEx spec 2015-11-06 18:16:29 +01:00
inject-library.h win-capture: Add inject library files 2015-07-05 15:17:06 -07:00
load-graphics-offsets.c win-capture: Add IDXGISwapChain1::Present1 hook support 2017-06-19 15:45:00 -07:00
monitor-capture.c libobs: Add source output flag OBS_SOURCE_DO_NOT_DUPLICATE 2016-01-26 11:49:50 -08:00
nt-stuff.h win-capture: Rename structs to avoid SDK conflict 2017-12-12 18:20:56 +01:00
obfuscate.c cmake: Add _CRT_SECURE_NO_WARNINGS to all projects 2016-12-08 03:27:36 -08:00
obfuscate.h win-capture: Add obfuscation functions 2014-12-08 01:53:51 -08:00
plugin-main.c win-capture: Defer hook offset loading to separate thread 2016-11-14 17:34:44 -08:00
window-capture.c win-capture: Log window capture's target 2017-11-26 18:00:51 -08:00
window-helpers.c win-capture: Fix and clarify window capture prioritization 2017-04-30 00:25:02 -07:00
window-helpers.h win-capture: Fix getting proper UWP window handles 2016-12-16 02:21:05 -08:00