clip: split_bindings at position * + inpoint*
authorMathieuDuponchelle <mathieu.duponchelle@epitech.eu>
Fri, 27 Sep 2013 00:56:44 +0000 (02:56 +0200)
committerThibault Saunier <thibault.saunier@collabora.com>
Sat, 28 Sep 2013 00:44:06 +0000 (02:44 +0200)
ges/ges-clip.c

index 483ac40..09a07b1 100644 (file)
@@ -1228,7 +1228,8 @@ ges_clip_split (GESClip * clip, guint64 position)
     ges_track_element_copy_properties (GES_TIMELINE_ELEMENT (trackelement),
         GES_TIMELINE_ELEMENT (new_trackelement));
 
-    ges_track_element_split_bindings (trackelement, new_trackelement, position);
+    ges_track_element_split_bindings (trackelement, new_trackelement,
+        position + inpoint);
   }
 
   _set_duration0 (GES_TIMELINE_ELEMENT (clip), position - _START (clip));