mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
add title sources to ges-launch
This commit is contained in:
parent
1c27454a80
commit
7e7a8ff16a
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue