57 Commits

Author SHA1 Message Date
Richard Stanway
3f70216408 Check window process owner in game capture hook 2014-08-13 02:07:05 +02:00
Richard Stanway
3e800f575f Improved graphics capture hooking 2014-08-07 00:57:38 +02:00
jp9000
e5005b3a28 Use FindWindow for DWM monitor capture
Because the DWM window is an invisible window, the recent change using
FindVisibleWindow instead of FindWindow will cause it to never find the
DWM window.  So, detect if the target is the DWM, and then use regular
FindWindow instead if so.
2014-07-31 19:13:57 -07:00
Bl00drav3n
90fe4d0b98 Fixed issue with windows not being found when using hotkey capture. Also fixed instant hooking of default window when calling BeginScene when using hotkey capture. 2014-07-26 18:14:52 +02:00
jp9000
753fc55376 Do not attempt capture unless class is valid 2014-07-25 09:46:46 -07:00
jp9000
728089ebe8 Add improved game capture logging when debugging 2014-07-24 22:10:59 -07:00
jp9000
e3fcbb6029 Fix game capture hotkey and LoL capturing
This fixes league of legends capturing issues where people would get a
black screen with game capture with it:  What happened is that riot must
have changed the window class for the hidden patcher window to have the
same window class as the in-game window, so when you exit your game, it
would try to capture the hidden patcher window and it would get stuck on
it.  Solution was to make it so only visible windows were captured.

Secondly, this improves the game capture hotkey feature.  Game capture
hotkey will now always 'stick' to the last window you captured, and save
it to config.  Only until the hotkey is hit again will it try to capture
a different window.

Windows that are not visible will no longer be used as capture targets.
I'm guessing that this may have been the cause of a number of prior
issues.
2014-07-24 22:05:42 -07:00
Richard Stanway
ec4ef87b30 Show errors at runtime if game capture files are blocked by AV 2014-04-25 18:43:19 +02:00
HomeWorld
234bde4b3a Don't have bUseDWMCapture flag true if we're using hotkey method. 2014-04-25 08:17:39 +03:00
jp9000
a32797b538 Revert some game capture hook code
Was causing anti-virus false-positives.
2014-04-23 21:02:57 -07:00
HomeWorld
ce75fed1cd Fix an issue with game source not capturing the mouse cursor after updating settings 2014-04-21 20:29:16 +03:00
HomeWorld
aa3d74f790 Added DWM as an option to game capture. (Monitor capture while Aero is on)
This option is shown in the Application list if composition is enabled and os version < 8 (Windows Vista/7)
2014-04-12 11:31:37 +03:00
jp9000
7cca8663a2 Game capture: Add anti-cheat compatibility
- Add an option in game capture to use SetWindowsHookEx instead of
   CreateRemoteThread to inject the library.

 - Add logging of what process game capture is trying to capture.

 - Rename "audio time offset" where it was used to "audio sync offset"

 - Adde logging for audio sync offsets

 - Update version to 0.62b test 1
2014-04-09 00:10:33 -07:00
Richard Stanway
5d6cc218eb Some static analysis fixes via Coverity Scan 2014-04-09 00:47:39 +02:00
Richard Stanway
1e4c95213f Don't attempt to render a zero width/height cursor 2013-08-03 15:42:02 -04:00
Richard Stanway
7d083f46de Increase timeout for injection thread 2013-07-18 00:02:25 -04:00
Richard Stanway
a34644439e Make mouse foreground window check more reliable 2013-07-07 21:24:27 -04:00
jp9000
220cde415d make it so mouse only shows in game/window capture when it is the foreground window 2013-07-02 08:48:03 -07:00
paibox
2802b45720 Updated the hashd RTMP URLs. 2013-05-17 14:36:34 +02:00
paibox
ccb0b1c048 Fix game capture aspect ratio handling properly, new and improved, etc. 2013-05-11 21:38:20 +02:00
paibox
a157c42ee8 Fixed stretch to screen aspect ratio handling for game capture. 2013-05-03 02:47:25 +02:00
jp9000
d2e7e2af6f added timestamping to all lines in log files 2013-05-01 17:58:42 -07:00
jp9000
b07fe5526d Significantly increased game capture logging data, added a variety of reacquiring fixes, fixed natural selection 2 not acquiring when windowed 2013-05-01 15:51:07 -07:00
jp9000
044a8b6882 fixed some bugs with game capture 2013-04-15 05:44:29 -07:00
jp9000
2cc418333f 0.48.014 - fixed a potential issue with game capture when it's disabled 2013-04-12 10:36:48 -07:00
jp9000
6e8561a228 made it so 1bit and 24bit cursors can be captured, and also attempting a fix for the weird non-square cursor bug 2013-03-26 04:52:08 -07:00
jp9000
83976e4172 game capture: fixed a bug that would cause targets to immidiately deacquire when hotkey was used 2013-03-22 22:43:21 -07:00
jp9000
d02364a0bf Added ability to use game capture via hotkey instead of having to select the window 2013-03-21 23:01:37 -07:00
jp9000
c01a3c0281 Fixed bug with game capture not checking to see if OBS is still alive. Might adjust it later if I find a better way 2013-03-21 19:19:16 -07:00
jp9000
9db9cd6359 fixed A/V issues for game capture injection, confirmed by multiple people 2013-03-10 16:23:51 -07:00
jp9000
d75c870c80 obfuscate evil import names because apparently they will cause problems with annoying programs 2013-03-04 16:10:45 -07:00
jp9000
34ae3ac1de graphics capture fix just in case injectHelper isn't working
also fixed text so that it doesn't use GDI textures, should fix multi-GPU laptop issues
2013-02-19 17:14:40 -07:00
jp9000
c78f7161a5 moved gamma stuff to software capture and game capture 2013-02-16 02:51:24 -07:00
jp9000
c2385453cc fixed bug with injector where it wouldn't work if there were spaces in the path (failed to surround it with quotes) 2013-02-14 16:40:14 -07:00
jp9000
6a44eba695 fixed game capture to work regardless of target application bit 2013-02-11 19:26:35 -07:00
Richard Stanway
8ec9d135e5 Fix invalid handle 2013-02-04 03:37:53 -05:00
jp9000
da3044a237 minor bugfix for graphics capture 2012-12-27 15:17:49 -07:00
jp9000
544975b4e7 added sizing/aspect ignore/positioning to graphics capture, added mouse to win8 capture, fixed push-to-talk volume, added push-to-talk delay 2012-12-16 22:27:41 -07:00
jp9000
1f0152ad91 fixed transcoding issues, fixed issues that could occur with bad mics/devices, logging more data, fixed bugs related to scene changing 2012-12-12 19:48:44 -07:00
jp9000
61dbfbfabe fixed sync problems in general, updated audio system, fixed some more bugs 2012-12-11 22:22:51 -07:00
jp9000
0fb0ce81f6 fixed issues with game capture not acquiring 2012-12-10 06:29:02 -07:00
jp9000
6ebf3633d9 tons of bug fixes, added send buffer again, fixed japanese localization, added outline 2012-12-05 19:43:44 -07:00
jp9000
286704a176 another CTS/DTS fix, fixed network issues, removed send buffer, fixed some graphics capture crashes, fixed win 8 sleep problems 2012-12-04 03:17:34 -07:00
jim
08dfbdbd24 woops, forgot to set a value to NULL 2012-11-25 01:10:16 -07:00
jim
cb2a91d3be added CTS padding, fixed graphics capture memory leak, fixed graphics capture crash 2012-11-25 00:44:06 -07:00
jim
0ae4377fcc made RTMP use SO_SNDBUF with 2*bitrate, made cursor capture properly in game capture, and fixed some other bugs 2012-11-23 14:34:45 -07:00
jim
8a5995e19f changed pdbs to output to rundir, added mouse cursor to graphics capture, removed redundant hook stuff, reverted frame drop code, and other tweaks 2012-11-22 18:02:33 -07:00
jim
129e068b1d improving framedrop code, bugfixes, got rid of tabs in source (I hate tabs), and other things 2012-11-21 11:21:40 -07:00
Richard Stanway
3004160b65 Properly free memory after injecting DLL 2012-11-20 23:38:26 -05:00
jim
bf71c44e6a fixed some alt-tab issues with graphics capture, also still tweaking frame drop code 2012-11-20 20:53:58 -07:00