textoverlay: make text property controllable too
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 6 Jan 2011 23:08:34 +0000 (23:08 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 6 Jan 2011 23:08:34 +0000 (23:08 +0000)
Because we can, and because it's the most interesting one
to control really, after xpos/ypos.

ext/pango/gsttextoverlay.c

index 4d5f52dc1a40c64ff168ec6718867e68c74f3590..915a59c5fbda1c3fa85a54e554db4b2fc41fa45b 100644 (file)
@@ -382,7 +382,7 @@ gst_text_overlay_class_init (GstTextOverlayClass * klass)
   g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT,
       g_param_spec_string ("text", "text",
           "Text to be display.", DEFAULT_PROP_TEXT,
-          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+          G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SHADING,
       g_param_spec_boolean ("shaded-background", "shaded background",
           "Whether to shade the background under the text area",