g_error ("couldn't create uri for '%s", opts->save_path);
self->priv->seenerrors = TRUE;
- g_application_release (G_APPLICATION (self));
+ g_application_quit (G_APPLICATION (self));
}
g_print ("\nSaving project to %s\n", uri);
g_assert_no_error (error);
if (error) {
self->priv->seenerrors = TRUE;
- g_application_release (G_APPLICATION (self));
+ g_application_quit (G_APPLICATION (self));
}
}
opts->scenario, &opts->needs_set_state) == FALSE) {
g_error ("Could not activate scenario %s", opts->scenario);
self->priv->seenerrors = TRUE;
- g_application_release (G_APPLICATION (self));
+ g_application_quit (G_APPLICATION (self));
}
if (opts->needs_set_state
g_printerr ("Error loading asset %s: %s\n", failed_id, error->message);
self->priv->seenerrors = TRUE;
- g_application_release (G_APPLICATION (self));
+ g_application_quit (G_APPLICATION (self));
}
static gboolean
g_error_free (err);
g_free (dbg_info);
self->priv->seenerrors = TRUE;
- g_application_release (G_APPLICATION (self));
+ g_application_quit (G_APPLICATION (self));
break;
}
case GST_MESSAGE_EOS:
g_printerr ("\nDone\n");
- g_application_release (G_APPLICATION (self));
+ g_application_quit (G_APPLICATION (self));
break;
case GST_MESSAGE_STATE_CHANGED:
if (GST_MESSAGE_SRC (message) == GST_OBJECT_CAST (self->priv->pipeline)) {
GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (self->priv->pipeline),
GST_DEBUG_GRAPH_SHOW_ALL, "ges-launch.interupted");
- g_application_release (G_APPLICATION (self));
+ g_application_quit (G_APPLICATION (self));
/* remove signal handler */
return TRUE;
g_object_get_data (G_OBJECT (pipeline), RUNNER_ON_PIPELINE);
if (runner)
- res = gst_validate_runner_printf (runner);
+ res = gst_validate_runner_exit (runner, TRUE);
gst_object_unref (pipeline);
if (runner) {
&& state == GST_STATE_NULL) {
gst_validate_printf (GST_MESSAGE_SRC (message),
"State change request NULL, " "quiting application\n");
- g_application_release (application);
+ g_application_quit (application);
}
}