diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2015-11-04 18:37:34 +0100 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2015-11-04 18:39:40 +0100 |
commit | d1dc4bb64a3886677694fa8faf653e01e6fe8298 (patch) | |
tree | 7b26cd8507b7e9b81e31c6471b0c68332282b11c | |
parent | 50866d307eb14db97169f7de1c9c37005a34cc0a (diff) |
launcher: Make sure to not activate validate twice when simply loading a scenario
-rw-r--r-- | tools/ges-launcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |