diff --git a/ges/ges-text-overlay.c b/ges/ges-text-overlay.c index 2c9d531526..f8569714d0 100644 --- a/ges/ges-text-overlay.c +++ b/ges/ges-text-overlay.c @@ -145,6 +145,10 @@ ges_text_overlay_create_element (GESTrackElement * track_element) GstPad *src_target, *sink_target; GstPad *src, *sink; GESTextOverlay *self = GES_TEXT_OVERLAY (track_element); + const gchar *child_props[] = + { "xpos", "ypos", "deltax", "deltay", "auto-resize", "outline-color", + NULL + }; text = gst_element_factory_make ("textoverlay", NULL); iconv = gst_element_factory_make ("videoconvert", NULL); @@ -163,6 +167,9 @@ ges_text_overlay_create_element (GESTrackElement * track_element) g_object_set (text, "xpos", (gdouble) self->priv->xpos, NULL); g_object_set (text, "ypos", (gdouble) self->priv->ypos, NULL); + ges_track_element_add_children_props (track_element, text, NULL, NULL, + child_props); + ret = gst_bin_new ("overlay-bin"); gst_bin_add_many (GST_BIN (ret), text, iconv, oconv, NULL); gst_element_link_many (iconv, text, oconv, NULL);