ges-launcher: return early on 'project-loaded' signal on error

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4102

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8145>
This commit is contained in:
Thibault Saunier 2024-12-13 09:17:32 -03:00 committed by GStreamer Marge Bot
parent a7ccbb073a
commit 1dd8085254

View file

@ -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;