obs-studio/plugins
jp9000 feda64e9c6 virtualcam-module: Fix crash on resolution change
Certain programs can start the virtualcam filter, then they may choose
to call `Stop()` on the filter, call `SetFormat()` to change the
resolution, then call `Run()` again to start the filter again. The
Windows virtual camera filter did not account for this, thus if the
resolution was different, it had potential to cause a crash.

To fix this, store the last filter resolution, then check the resolution
every frame, and if it changes, reset the scaling information.

(Author note: This code is unclean. What we need to do with the virtual
camera filter is make it only create the thread on `Run()`, then join
the thread on `Stop()`. It's currently a bit complicated to make it do
that at the moment, so this code is a kind of an annoying stopgap for
now.)
2022-10-15 01:42:07 -07:00
..
aja Update translations from Crowdin 2022-08-30 09:00:44 +00:00
coreaudio-encoder coreaudio-encoder: Allow fetching source properties without source 2022-09-21 14:28:59 -04:00
decklink decklink: Set output range and color space 2022-09-10 15:36:27 -07:00
enc-amf@5a1dafeddb plugins: Update translations from Crowdin 2022-08-17 14:27:34 +10:00
image-source image-source: Update media states when source is de-/activated 2022-09-10 16:31:23 -07:00
linux-alsa Update translations from Crowdin 2022-07-31 23:40:53 +00:00
linux-capture linux-capture: Fixup window name/class checking 2022-09-24 20:42:57 -03:00
linux-jack Update translations from Crowdin 2022-07-31 23:40:53 +00:00
linux-pipewire linux-pipewire: Close sessions as we are done with them 2022-09-27 11:50:49 -03:00
linux-pulseaudio linux-pulseaudio: Use DONT_MOVE for non-default devices 2022-10-09 16:31:00 -07:00
linux-v4l2 linux-v4l2: Remove redundant non-NULL check on FILE 2022-09-17 16:14:05 -07:00
mac-avcapture mac-avcapture: Allow fetching source properties without source 2022-09-21 14:28:59 -04:00
mac-capture mac-capture: Log CoreAudio device sample rate 2022-10-09 17:09:07 -07:00
mac-syphon Update translations from Crowdin 2022-08-30 09:00:44 +00:00
mac-videotoolbox mac-videotoolbox: Remove "None" profile 2022-10-09 16:58:30 -07:00
mac-virtualcam mac-virtualcam: Fix distorted virtual cam image when using full range 2022-09-21 11:04:25 -04:00
obs-browser@b6e0888084 Update translations from Crowdin 2022-08-30 09:00:44 +00:00
obs-ffmpeg obs-ffmpeg: Clarify name of NVENC preset 2022-10-14 16:25:22 -07:00
obs-filters libobs: Precompute more accurate matrices 2022-10-05 08:36:29 -07:00
obs-libfdk Update translations from Crowdin 2022-08-30 09:00:44 +00:00
obs-outputs obs-outputs: Drop unused config file 2022-09-17 16:38:50 -07:00
obs-qsv11 Update translations from Crowdin 2022-08-30 09:00:44 +00:00
obs-text Update translations from Crowdin 2022-07-31 23:40:53 +00:00
obs-transitions obs-transitions: Allow fetching source properties without source 2022-09-21 14:28:59 -04:00
obs-vst obs-vst: Toggle properties button visibility upon VST selection 2022-10-09 16:33:27 -07:00
obs-websocket@5716577019 plugins: Update obs-websocket to 5.0.2 (Crowdin translations) 2022-08-30 16:43:28 -07:00
obs-x264 Update translations from Crowdin 2022-08-30 09:00:44 +00:00
oss-audio Update translations from Crowdin 2022-08-30 09:00:44 +00:00
rtmp-services rtmp-services: Remove defunct servers/services 2022-10-09 16:54:48 -07:00
sndio Update translations from Crowdin 2022-08-17 04:22:50 +00:00
text-freetype2 Update translations from Crowdin 2022-08-30 09:00:44 +00:00
vlc-video vlc-video: Fix crash at removing files from missing-file dialog 2022-10-09 16:40:06 -07:00
win-capture win-capture: Update D3D9 signature for Win 11 22H2 2022-10-09 16:21:02 -07:00
win-dshow virtualcam-module: Fix crash on resolution change 2022-10-15 01:42:07 -07:00
win-ivcam cmake: Fix diverging prefix padding for OBS status outputs 2022-03-26 09:44:23 -04:00
win-mf Update translations from Crowdin 2022-08-30 09:00:44 +00:00
win-wasapi win-wasapi: Fix Stop hang 2022-10-01 10:36:08 -07:00
CMakeLists.txt plugins: Make CMake fail if obs-websocket is not found 2022-07-30 17:34:36 -07:00