From 9791fc541bb14071eed95308af4c4bb1af188fbe Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 10 Jan 2013 18:01:33 -0300 Subject: [PATCH] timeline: Minor refactoring --- ges/ges-timeline.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ges/ges-timeline.c b/ges/ges-timeline.c index c76a6d18a8..758e5d2500 100644 --- a/ges/ges-timeline.c +++ b/ges/ges-timeline.c @@ -1351,17 +1351,18 @@ timeline_roll_object (GESTimeline * timeline, GESTrackObject * obj, break; } +done: + timeline->priv->needs_transitions_update = TRUE; mv_ctx->ignore_needs_ctx = FALSE; return ret; error: - mv_ctx->ignore_needs_ctx = FALSE; - GST_DEBUG_OBJECT (obj, "Could not roll edge %d to %" GST_TIME_FORMAT, edge, GST_TIME_ARGS (position)); - return FALSE; + ret = FALSE; + goto done; } gboolean