obs-studio/plugins
jp9000 dc6a0bf8e9 obs-browser: Fix browser panel crash
Before, we were calling DestroyWindow on the browser panel HWND from the
CEF UI thread, which meant that the main program thread had to process
window messages in order for that message to successfully through as
DestroyWindow blocks on the WM_DESTROY/WM_NCDESTROY window messages.
Unfortunately, this also had the side-effect of processing all queued Qt
events, which, when called in the destructor of a window like this, can
result in undefined behavior; specifically crashes, which were occurring
due to this.  Especially when browser panels were in docks and docked to
the main window.

So, instead of calling DestroyWindow in another thread and then
processing events in the main thread, call DestroyWindow directly in the
main thread to get WM_DESTROY/WM_NCDESTROY and only those processed on
the spot.  This appears to fix the crashes due to the undefined
behavior when closing browser panels.
2019-08-31 21:10:26 -07:00
..
coreaudio-encoder clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
decklink clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
enc-amf@47c3c728af enc-amf: Update translations 2019-02-25 08:07:08 -08:00
image-source clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
linux-alsa clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
linux-capture linux-capture: Texture unbound after GS_GL_DUMMYTEX changes 2019-08-17 22:47:32 -07:00
linux-jack clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
linux-pulseaudio clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
linux-v4l2 linux-v4l2: Add "Default" color range setting 2019-07-10 23:40:58 -07:00
mac-avcapture Apply clang-format to objective c code 2019-07-09 13:39:13 -05:00
mac-capture Apply clang-format to objective c code 2019-07-09 13:39:13 -05:00
mac-syphon Apply clang-format to objective c code 2019-07-09 13:39:13 -05:00
mac-vth264 libobs: Mark encoders that support dynamic bitrate 2019-08-18 03:14:38 -07:00
obs-browser@17706ea76c obs-browser: Fix browser panel crash 2019-08-31 21:10:26 -07:00
obs-ffmpeg obs-ffmpeg: Use NV_FAILED() instead of FAILED() 2019-08-24 18:24:28 -07:00
obs-filters Merge pull request #1979 from cg2121/suffixes 2019-07-21 21:45:30 -07:00
obs-libfdk clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-outputs obs-outputs: Add dynamic bitrate to RTMP output 2019-08-18 03:14:38 -07:00
obs-qsv11 obs-qsv11: Do not enable b-frames on sandy/ivy bridge 2019-08-26 08:13:24 -07:00
obs-text obs-text: Fix formatting 2019-08-15 21:38:23 -07:00
obs-transitions obs-transitions: Fix suffix with stinger transition 2019-07-22 15:24:30 -05:00
obs-vst@e7d21c36c8 clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-x264 obs-x264: Do not display log messages every update 2019-08-22 16:21:59 -07:00
rtmp-services rtmp-services: Update GameTips.TV 2019-08-28 08:32:14 -07:00
text-freetype2 Apply clang-format to objective c code 2019-07-09 13:39:13 -05:00
vlc-video libobs, obs-scripting, vlc-video: Fix compiler warnings 2019-08-15 03:00:06 -05:00
win-capture Revert "win-capture: Don't leak dynamic library references" 2019-08-17 12:23:44 -07:00
win-dshow win-dshow: Use unbuffered by default for MJPEG 2019-07-29 20:34:13 -07:00
win-ivcam clang-format: Add clang-format files 2019-06-23 01:53:56 -07:00
win-mf clang-format: Add clang-format files 2019-06-23 01:53:56 -07:00
win-wasapi Merge pull request #1992 from Xaymar/patch-tidy-up-1 2019-08-17 08:16:46 -07:00
CMakeLists.txt cmake: Fix UI being dependent on browser plugin files 2018-09-18 08:56:34 -07:00