track-element: add start to the position to which we wish we split the bindings.

The bindings split is relative to the beginning of the clip.
This commit is contained in:
Mathieu Duponchelle 2013-10-30 00:27:36 +01:00 committed by Thibault Saunier
parent 0e35a68aa6
commit 219154eacb

View file

@ -1229,7 +1229,7 @@ ges_clip_split (GESClip * clip, guint64 position)
GES_TIMELINE_ELEMENT (new_trackelement));
ges_track_element_split_bindings (trackelement, new_trackelement,
position + inpoint);
position - start + inpoint);
}
_set_duration0 (GES_TIMELINE_ELEMENT (clip), position - _START (clip));