From 061793b9753601589d54753a07fd8bb0b8c68e87 Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Sat, 1 Feb 2020 09:50:57 +1100 Subject: [PATCH] obs-transitions: Halve stinger padding to 250ms Triggering a new transition too soon after a stinger would cause the wrong scene to be displayed --- plugins/obs-transitions/transition-stinger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/obs-transitions/transition-stinger.c b/plugins/obs-transitions/transition-stinger.c index eed376622..ce50a4c5d 100644 --- a/plugins/obs-transitions/transition-stinger.c +++ b/plugins/obs-transitions/transition-stinger.c @@ -231,7 +231,7 @@ static void stinger_transition_start(void *data) proc_handler_call(ph, "get_duration", &cd); proc_handler_call(ph, "get_nb_frames", &cd); s->duration_ns = - (uint64_t)calldata_int(&cd, "duration") + 500000000ULL; + (uint64_t)calldata_int(&cd, "duration") + 250000000ULL; s->duration_frames = (uint64_t)calldata_int(&cd, "num_frames"); if (s->transition_point_is_frame)