obs-StreamFX/source
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
..
filters gs-effect*: Finish up refactoring onto std::shared_ptr 2019-12-15 12:55:19 +01:00
gfx gs-effect*: Finish up refactoring onto std::shared_ptr 2019-12-15 12:55:19 +01:00
obs gs-effect: Also override finalizer for the stored ptr 2019-12-16 23:07:49 +01:00
sources source-mirror: Fix potential lockup and rescaling with original size 2019-12-16 23:53:20 +01:00
plugin.cpp cmake: Add commit to version.hpp template 2019-10-13 05:54:20 +02:00
plugin.hpp project: Fix a massive list of dangerous warnings 2019-09-05 18:42:28 +02:00
strings.hpp source-mirror: Refactor to improve performance 2019-10-18 22:32:54 +02:00
util-event.cpp util-event: Template event handler class 2018-11-08 08:07:49 +01:00
util-event.hpp util-event: Automatically clear event listeners when destructed 2019-04-02 19:11:26 +02:00
util-math.cpp project: Re-apply formatting 2019-09-04 03:03:41 +02:00
util-math.hpp project: Fix up previous commit 2019-08-04 20:29:04 +02:00
util-memory.cpp util-memory: Cast to intptr_t 2019-09-05 18:09:33 +02:00
util-memory.hpp project: Fix up previous commit 2019-08-04 20:29:04 +02:00
utility.cpp project: Fix a massive list of dangerous warnings 2019-09-05 18:42:28 +02:00
utility.hpp project: Remove use of P_INITIALIZER 2019-09-04 02:47:27 +02:00