From 1dd8085254a3350cd30730024ce3ce36c480e006 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 13 Dec 2024 09:17:32 -0300 Subject: [PATCH] ges-launcher: return early on 'project-loaded' signal on error Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4102 Part-of: --- subprojects/gst-editing-services/tools/ges-launcher.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subprojects/gst-editing-services/tools/ges-launcher.c b/subprojects/gst-editing-services/tools/ges-launcher.c index 7a7e5fef79..d759d4490d 100644 --- a/subprojects/gst-editing-services/tools/ges-launcher.c +++ b/subprojects/gst-editing-services/tools/ges-launcher.c @@ -880,6 +880,10 @@ _project_loaded_cb (GESProject * project, GESTimeline * timeline, GESLauncherParsedOptions *opts = &self->priv->parsed_options; GST_INFO ("Project loaded, playing it"); + if (self->priv->seenerrors) { + return; + } + if (opts->save_path || opts->save_only_path) { gchar *uri; GError *error = NULL;