libobs: Recalculate transition transforms when starting

If custom transforms were used, the very first frame after starting
would always render with the previous transform before calculating the
new transform.
This commit is contained in:
jp9000 2016-05-24 07:24:30 -07:00
parent 8e24eee0b8
commit fe62658c69

View File

@ -380,6 +380,9 @@ bool obs_transition_start(obs_source_t *transition,
obs_source_dosignal(transition, "source_transition_start",
"transition_start");
recalculate_transition_size(transition);
recalculate_transition_matrices(transition);
/* TODO: Add mode */
UNUSED_PARAMETER(mode);
return true;