projects
/
platform
/
upstream
/
gst-editing-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c27454
)
add title sources to ges-launch
author
Brandon Lewis
<brandon@collabora.co.uk>
Wed, 16 Jun 2010 11:22:15 +0000
(13:22 +0200)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Fri, 9 Jul 2010 11:21:10 +0000
(13:21 +0200)
tools/ges-launch.c
patch
|
blob
|
history
diff --git
a/tools/ges-launch.c
b/tools/ges-launch.c
index
ebb0d0b
..
d040c8c
100644
(file)
--- a/
tools/ges-launch.c
+++ b/
tools/ges-launch.c
@@
-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;