add title sources to ges-launch

This commit is contained in:
Brandon Lewis 2010-06-16 13:22:15 +02:00 committed by Edward Hervey
parent 1c27454a80
commit 7e7a8ff16a

View file

@ -212,6 +212,15 @@ create_timeline (int nbargs, gchar ** argv)
}
else if (!g_strcmp0 ("+title", source)) {
obj = GES_TIMELINE_OBJECT (ges_timeline_title_source_new ());
g_object_set (obj, "duration", duration, "text", arg0, NULL);
g_print ("Adding <title:%s> duration %" GST_TIME_FORMAT "\n",
arg0, GST_TIME_ARGS (duration));
}
else {
gchar *uri;
guint64 inpoint;