obs-studio/plugins
jp9000 bef1b37ae2 win-capture: Fix case where hook only captures one frame
When using a chain hook method (forward or reverse), it was unwisely
assumed that the previous hook in the chain would not overwrite new
hooks when it's called.  When the game capture hook calls the previous
hook in the chain, certain other programs that hook (in this case,
rivatuner on-screen display) would overwrite the hook with older data
and erase the game capture hook, causing it to only capture the first
frame and then never capture again.

This patch ensures that the hook is always saved before calling the next
hook in the chain and then restored after the call returns.  It also
preserves any new hooks that may be added on top of it at any point.
2016-04-14 23:45:19 -07:00
..
coreaudio-encoder Update translations from Crowdin 2016-03-19 12:08:48 -07:00
decklink decklink: Fix issues showing older devices 2016-03-24 02:03:36 -07:00
image-source image-source: Use os_stat instead of stat 2016-04-03 18:03:52 -07:00
linux-alsa linux-alsa: Add ALSA audio input plugin (linux) 2016-04-08 02:53:21 -07:00
linux-capture linux-capture: Add "Use alpha-less texture format" option 2016-04-08 03:17:33 -07:00
linux-jack Update translations from Crowdin 2016-03-19 12:08:48 -07:00
linux-pulseaudio Update translations from Crowdin 2016-03-19 12:08:48 -07:00
linux-v4l2 Update translations from Crowdin 2016-03-19 12:08:48 -07:00
mac-avcapture Update translations from Crowdin 2016-03-19 12:08:48 -07:00
mac-capture Update translations from Crowdin 2016-03-19 12:08:48 -07:00
mac-syphon Update translations from Crowdin 2016-03-19 12:08:48 -07:00
mac-vth264 Update translations from Crowdin 2016-03-19 12:08:48 -07:00
obs-ffmpeg obs-ffmpeg: Fix warnings with FFmpeg 3.0.0+ 2016-04-09 18:10:48 -07:00
obs-filters libobs: Remove need for DrawMatrix technique in effects 2016-03-21 21:22:26 -07:00
obs-libfdk Update translations from Crowdin 2016-03-19 12:08:48 -07:00
obs-outputs obs-outputs: Fix assign instead of compare on socket address type 2016-04-13 02:23:23 +02:00
obs-transitions obs-transitions: Add 'Fade to Color' transition 2016-03-24 16:23:29 -07:00
obs-x264 Update translations from Crowdin 2016-03-19 12:08:48 -07:00
rtmp-services rtmp-services: Use "scenecut=0" x264 option for Twitch 2016-04-09 23:39:12 -07:00
text-freetype2 image-source: Use os_stat instead of stat 2016-04-03 18:03:52 -07:00
win-capture win-capture: Fix case where hook only captures one frame 2016-04-14 23:45:19 -07:00
win-dshow win-dshow: Add 'deactivate when not showing' option 2016-04-03 15:55:15 -07:00
win-mf Update translations from Crowdin 2016-03-19 12:08:48 -07:00
win-wasapi Update translations from Crowdin 2016-03-19 12:08:48 -07:00
CMakeLists.txt linux-alsa: Add ALSA audio input plugin (linux) 2016-04-08 02:53:21 -07:00