textoverlay: make text property controllable too

Because we can, and because it's the most interesting one
to control really, after xpos/ypos.
This commit is contained in:
Tim-Philipp Müller 2011-01-06 23:08:34 +00:00
parent e674178331
commit b6ae695174

View 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",