From d1dc4bb64a3886677694fa8faf653e01e6fe8298 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 4 Nov 2015 18:37:34 +0100 Subject: launcher: Make sure to not activate validate twice when simply loading a scenario --- tools/ges-launcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ges-launcher.c b/tools/ges-launcher.c index da20abb2..dca732b6 100644 --- a/tools/ges-launcher.c +++ b/tools/ges-launcher.c @@ -176,7 +176,7 @@ _project_loaded_cb (GESProject * project, GESTimeline * timeline, _timeline_set_user_options (self, timeline, ges_project_get_uri (project)); - if (ges_project_get_uri (project) + if (self->priv->parsed_options.load_path && ges_project_get_uri (project) && ges_validate_activate (GST_PIPELINE (self->priv->pipeline), opts->scenario, &opts->needs_set_state) == FALSE) { g_error ("Could not activate scenario %s", opts->scenario); -- cgit v1.2.3