clip: Never try to set the start after the end of an element when trimming

This commit is contained in:
Thibault Saunier 2013-06-25 18:37:48 -04:00 committed by Mathieu Duponchelle
parent 71f877c611
commit fe043e0231

View file

@ -1279,6 +1279,9 @@ _ripple (GESTimelineElement * element, GstClockTime start)
return FALSE;
}
if (start > _END (element))
start = _END (element);
if (GES_CONTAINER_CHILDREN (element)) {
GESTrackElement *track_element =
GES_TRACK_ELEMENT (GES_CONTAINER_CHILDREN (element)->data);