mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
tools:launch: clean user facing message on wrong timeline description
Summary: Before: $ ../gst-editing-services/tools/ges-launch-1.0 -p 0:00:00.028629728 8155 0x17e1b60 ERROR default ges-launcher.c:214:_create_timeline: serialized timeline is -p ** (lt-ges-launch-1.0:8155): ERROR **: Could not create timeline, error: Could not find a suitable formatter [1] 8155 trace trap (core dumped) ../gst-editing-services/tools/ges-launch-1.0 -p $ After: $ GST_DEBUG=0 ges-launch-1.0 -p ERROR: Could not create timeline, error: Could not find a suitable formatter $ Reviewers: Mathieu_Du Differential Revision: http://phabricator.freedesktop.org/D95
This commit is contained in:
parent
506662e2dc
commit
de256fcf13
1 changed files with 7 additions and 2 deletions
|
@ -225,7 +225,8 @@ _create_timeline (GESLauncher * self, const gchar * serialized_timeline,
|
|||
GES_TIMELINE (ges_asset_extract (GES_ASSET (project), &error));
|
||||
|
||||
if (error) {
|
||||
g_error ("Could not create timeline, error: %s", error->message);
|
||||
g_printerr ("\nERROR: Could not create timeline because: %s\n\n",
|
||||
error->message);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -772,10 +773,14 @@ _startup (GApplication * application)
|
|||
goto failure;
|
||||
|
||||
done:
|
||||
return G_APPLICATION_CLASS (ges_launcher_parent_class)->startup (application);
|
||||
G_APPLICATION_CLASS (ges_launcher_parent_class)->startup (application);
|
||||
|
||||
return;
|
||||
|
||||
failure:
|
||||
self->priv->seenerrors = TRUE;
|
||||
|
||||
goto done;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue