mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 13:36:39 +00:00
launcher: Make sure to not activate validate twice when simply loading a scenario
This commit is contained in:
parent
5f81e64b59
commit
0045cce6fa
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ _project_loaded_cb (GESProject * project, GESTimeline * timeline,
|
||||||
|
|
||||||
_timeline_set_user_options (self, timeline, ges_project_get_uri (project));
|
_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),
|
&& ges_validate_activate (GST_PIPELINE (self->priv->pipeline),
|
||||||
opts->scenario, &opts->needs_set_state) == FALSE) {
|
opts->scenario, &opts->needs_set_state) == FALSE) {
|
||||||
g_error ("Could not activate scenario %s", opts->scenario);
|
g_error ("Could not activate scenario %s", opts->scenario);
|
||||||
|
|
Loading…
Reference in a new issue