mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
clip: Never try to set the start after the end of an element when trimming
This commit is contained in:
parent
71f877c611
commit
fe043e0231
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue