obs-studio/plugins/obs-transitions
jp9000 f487954395 obs-transitions: Fix desync of stinger track matte
Although obs_source_add_active_child indicates to a child source that a
child source needs to activate, sources will not activate until the next
tick. However, because the transition start call is made from within the
UI thread, the time in which the media source renders is not guaranteed
to be activated by the time the stinger renders due to a potential race.
Thus he media source of a stinger is not guaranteed to be activated,
causing a brief flash. This also applies when stopping a stinger.

This problem normally doesn't really affect normal stingers; instead, it
affects track matte stingers because it is critical for them to be on
time in order to have the mask data.

In order to solve this, check to see if the underlying media source is
actually active and able to render when performing the masking.
2021-08-11 05:56:02 -07:00
..
data obs-transitions: Add "Mask only" track matte option 2021-08-08 15:45:14 -07:00
CMakeLists.txt cmake: Add cmake folders 2020-05-13 06:52:37 -07:00
easings.h obs-transitions: Add 'slide' transition 2016-03-24 02:19:16 -07:00
obs-transitions.c Plugins: Add descriptions to modules 2018-09-11 18:28:58 -07:00
transition-cut.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
transition-fade-to-color.c obs-transitions: Blend in linear space 2021-05-08 20:53:44 -07:00
transition-fade.c obs-transitions: Blend in linear space 2021-05-08 20:53:44 -07:00
transition-luma-wipe.c obs-transitions: Blend in linear space 2021-05-08 20:53:44 -07:00
transition-slide.c obs-transitions: Blend in linear space 2021-05-08 20:53:44 -07:00
transition-stinger.c obs-transitions: Fix desync of stinger track matte 2021-08-11 05:56:02 -07:00
transition-swipe.c obs-transitions: Blend in linear space 2021-05-08 20:53:44 -07:00