obs-studio/plugins
tujinshu 76e6a99124 win-capture: Fix rare crash when GL program exits
**Commit message modified and clarified by Jim**

When hooking a program that has both DirectX and OpenGL contexts in use,
it is possible to cause a crash on shutdown due to capture_active()
returning true when an OpenGL context is deleted.  Normally, when
capturing an OpenGL program, this would not happen because the 'active'
variable would not be set due to OpenGL capture not being initialized,
but if DirectX is captured while an OpenGL context is available, and
OpenGL could not load these required functions, then GL can crash due to
trying to use unavailable functions.

This case is extremely rare and doesn't happen under normal
circumstances; only if a program is using both DirectX and OpenGL within
the same program simultaneously, and *only* if OpenGL could not load the
required functions.  This likely almost never happens under normal
programs, games, and hardware.  This was apparently produced by hooking
a GL Qt program that used QWebEngine, which used multiple contexts at
once.
2019-11-05 13:44:15 -08:00
..
coreaudio-encoder Update translations from Crowdin 2019-09-17 23:21:00 +02:00
decklink Update translations from Crowdin 2019-09-17 23:21:00 +02:00
enc-amf@988437b54b enc-amf: Upgrade to v2.6 2019-10-13 13:52:17 -07:00
image-source Update translations from Crowdin 2019-09-17 23:21:00 +02:00
linux-alsa Update translations from Crowdin 2019-09-17 23:21:00 +02:00
linux-capture linux-capture: Fix bug with xshm input showing multiple 0x0 windows 2019-10-02 13:51:28 -04:00
linux-jack Update translations from Crowdin 2019-09-17 23:21:00 +02:00
linux-pulseaudio Update translations from Crowdin 2019-09-17 23:21:00 +02:00
linux-v4l2 Update translations from Crowdin 2019-09-17 23:21:00 +02:00
mac-avcapture Update translations from Crowdin 2019-09-17 23:21:00 +02:00
mac-capture Update translations from Crowdin 2019-09-17 23:21:00 +02:00
mac-syphon Update translations from Crowdin 2019-09-17 23:21:00 +02:00
mac-vth264 Update translations from Crowdin 2019-09-17 23:21:00 +02:00
obs-browser@2ab0e14151 obs-browser: Remove "monitor by default" flag 2019-10-11 23:42:35 -07:00
obs-ffmpeg obs-ffmpeg: use avcodec_find_best_pix_fmt_of_list 2019-10-17 08:07:27 +02:00
obs-filters obs-filters: Fix sharpness not being translated 2019-10-09 05:23:15 -05:00
obs-libfdk Update translations from Crowdin 2019-09-17 23:21:00 +02:00
obs-outputs rtmp-stream: Fix comparison between signed and unsigned ints 2019-10-11 22:34:49 -05:00
obs-qsv11 Update translations from Crowdin 2019-09-17 23:21:00 +02:00
obs-text Update translations from Crowdin 2019-09-17 23:21:00 +02:00
obs-transitions obs-transitions: Fix stingers sometimes getting cut off 2019-10-05 12:51:01 -07:00
obs-vst@e7d21c36c8 clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-x264 Update translations from Crowdin 2019-09-17 23:21:00 +02:00
rtmp-services rtmp-services: Add Stars.AVN.com streaming service 2019-10-22 23:53:48 -07:00
text-freetype2 Update translations from Crowdin 2019-09-17 23:21:00 +02:00
vlc-video Update translations from Crowdin 2019-09-17 23:21:00 +02:00
win-capture win-capture: Fix rare crash when GL program exits 2019-11-05 13:44:15 -08:00
win-dshow win-dshow: Do not allow H264 to have same priority as MJPEG 2019-09-19 00:12:07 -07:00
win-ivcam clang-format: Add clang-format files 2019-06-23 01:53:56 -07:00
win-mf Update translations from Crowdin 2019-09-17 23:21:00 +02:00
win-wasapi win-wasapi: Log device sample rate when initialized 2019-10-19 21:53:08 +11:00
CMakeLists.txt docs/sphinx: Fix various typos 2019-10-14 17:19:38 -07:00