mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 16:51:10 +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)))
|
||||
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
|
||||
* hangs during playback. */
|
||||
|
|
Loading…
Reference in a new issue