Skip to content

Commit

Permalink
libobs: Recalculate transition transforms when starting
Browse files Browse the repository at this point in the history
If custom transforms were used, the very first frame after starting
would always render with the previous transform before calculating the
new transform.
  • Loading branch information
jp9000 committed May 24, 2016
1 parent 8e24eee commit fe62658
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libobs/obs-source-transition.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe62658

Please sign in to comment.