mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
timeline: Not being able to trim and object is an error
So error out when that happens.
This commit is contained in:
parent
100276d02a
commit
1a69f0d535
1 changed files with 2 additions and 1 deletions
|
@ -1864,7 +1864,8 @@ timeline_ripple_object (GESTimeline * timeline, GESTrackElement * obj,
|
|||
case GES_EDGE_START:
|
||||
GST_INFO ("Ripple start doesn't make sense, trimming instead");
|
||||
timeline->priv->movecontext.needs_move_ctx = TRUE;
|
||||
timeline_trim_object (timeline, obj, layers, edge, position);
|
||||
if (!timeline_trim_object (timeline, obj, layers, edge, position))
|
||||
goto error;
|
||||
break;
|
||||
default:
|
||||
GST_DEBUG ("Can not ripple edge: %i", edge);
|
||||
|
|
Loading…
Reference in a new issue