mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 10:42:22 +00:00
timeline: Make ripple start be trimming
This is a more natural behaviour as a user instead of doing nothing at all.
This commit is contained in:
parent
2f03a5df25
commit
c74aee5fdc
1 changed files with 3 additions and 2 deletions
|
@ -1500,8 +1500,9 @@ timeline_ripple_object (GESTimeline * timeline, GESTrackElement * obj,
|
||||||
GST_DEBUG ("Done Rippling end");
|
GST_DEBUG ("Done Rippling end");
|
||||||
break;
|
break;
|
||||||
case GES_EDGE_START:
|
case GES_EDGE_START:
|
||||||
GST_WARNING ("Ripple start doesn't exist!");
|
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);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
GST_DEBUG ("Can not ripple edge: %i", edge);
|
GST_DEBUG ("Can not ripple edge: %i", edge);
|
||||||
|
|
Loading…
Reference in a new issue