mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-12 01:05:47 +00:00
tools:launcher: Avoid commiting when we are not done loading the timeline
This commit is contained in:
parent
b9c6606e89
commit
cc84b63305
1 changed files with 2 additions and 1 deletions
|
@ -451,7 +451,8 @@ create_pipeline (GESTimeline ** ret_timeline, gchar * load_path,
|
||||||
if (!(timeline = create_timeline (argc, argv, uri, scenario)))
|
if (!(timeline = create_timeline (argc, argv, uri, scenario)))
|
||||||
goto failure;
|
goto failure;
|
||||||
|
|
||||||
ges_timeline_commit (timeline);
|
if (!load_path)
|
||||||
|
ges_timeline_commit (timeline);
|
||||||
|
|
||||||
/* save project if path is given. we do this now in case GES crashes or
|
/* save project if path is given. we do this now in case GES crashes or
|
||||||
* hangs during playback. */
|
* hangs during playback. */
|
||||||
|
|
Loading…
Reference in a new issue