ges-launch: Do no create "normal" timeline when you load a project

This commit is contained in:
Thibault Saunier 2013-03-30 13:37:43 +01:00
parent 8b1039a87a
commit 6b8657a04e

View file

@ -260,10 +260,11 @@ create_pipeline (gchar * load_path, gchar * save_path, int argc, char **argv,
}
g_printf ("loaded project successfully\n");
g_free (uri);
} else
} else {
/* Normal timeline creation */
if (!(timeline = create_timeline (argc, argv, audio, video)))
goto failure;
if (!(timeline = create_timeline (argc, argv, audio, video)))
goto failure;
}
/* save project if path is given. we do this now in case GES crashes or
* hangs during playback. */