obs-StreamFX/source/sources
Michael Fabian 'Xaymar' Dirks 1c7fd1495c source-mirror: Fix potential lockup and rescaling with original size
Getting the resolution of a source is very expensive in libOBS, as libOBS does not cache it and instead always calls into the filters and sources to determine the actual source. This also leads to potential lockups due to the filter list mutex being locked for the target source.

Therefore instead of calling it multiple times, cache the result of the call, if that result is even necessary. This reduces the need to synchronize lightly parallelized work (UI and libOBS code) and helps against the potential race condition in libOBS.
2019-12-16 23:53:20 +01:00
..
source-mirror.cpp source-mirror: Fix potential lockup and rescaling with original size 2019-12-16 23:53:20 +01:00
source-mirror.hpp source-mirror: Fix potential lockup and rescaling with original size 2019-12-16 23:53:20 +01:00
source-shader.cpp gfx-effect-source: Catch exceptions as const 2019-10-13 07:28:59 +02:00
source-shader.hpp gfx-effect-source: enumerate child sources correctly 2019-08-07 20:40:04 +02:00