mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
a7ccbb073a
commit
1dd8085254
1 changed files with 4 additions and 0 deletions
|
@ -880,6 +880,10 @@ _project_loaded_cb (GESProject * project, GESTimeline * timeline,
|
||||||
GESLauncherParsedOptions *opts = &self->priv->parsed_options;
|
GESLauncherParsedOptions *opts = &self->priv->parsed_options;
|
||||||
GST_INFO ("Project loaded, playing it");
|
GST_INFO ("Project loaded, playing it");
|
||||||
|
|
||||||
|
if (self->priv->seenerrors) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (opts->save_path || opts->save_only_path) {
|
if (opts->save_path || opts->save_only_path) {
|
||||||
gchar *uri;
|
gchar *uri;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
Loading…
Reference in a new issue