transition: Fix usage of transition types != crossfade

We need to make sure the crossfade ratio is disabled in that case.
This commit is contained in:
Thibault Saunier 2017-08-03 17:03:31 -04:00
parent 57be9b6799
commit ef86b7f7e6

View file

@ -467,7 +467,7 @@ ges_video_transition_update_control_sources (GESVideoTransition * self,
duration, 0.0, 0.0);
} else {
ges_video_transition_update_control_source
(priv->crossfade_control_source, duration, 1.0, 1.0);
(priv->crossfade_control_source, duration, -1.0, -1.0);
ges_video_transition_update_control_source (priv->smpte_control_source,
duration, 1.0, 0.0);
}