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:
Thibault Saunier 2013-09-07 02:10:12 -04:00
parent 2f03a5df25
commit c74aee5fdc

View file

@ -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);