obs-transitions: Halve stinger padding to 250ms

Triggering a new transition too soon after a
stinger would cause the wrong scene to be displayed
master
Matt Gajownik 2020-02-01 09:50:57 +11:00
parent 23ec9fd2b0
commit 061793b975
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ static void stinger_transition_start(void *data)
proc_handler_call(ph, "get_duration", &cd); proc_handler_call(ph, "get_duration", &cd);
proc_handler_call(ph, "get_nb_frames", &cd); proc_handler_call(ph, "get_nb_frames", &cd);
s->duration_ns = 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"); s->duration_frames = (uint64_t)calldata_int(&cd, "num_frames");
if (s->transition_point_is_frame) if (s->transition_point_is_frame)