mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 17:52:29 +00:00
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:
parent
e674178331
commit
b6ae695174
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ gst_text_overlay_class_init (GstTextOverlayClass * klass)
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT,
|
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT,
|
||||||
g_param_spec_string ("text", "text",
|
g_param_spec_string ("text", "text",
|
||||||
"Text to be display.", DEFAULT_PROP_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_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SHADING,
|
||||||
g_param_spec_boolean ("shaded-background", "shaded background",
|
g_param_spec_boolean ("shaded-background", "shaded background",
|
||||||
"Whether to shade the background under the text area",
|
"Whether to shade the background under the text area",
|
||||||
|
|
Loading…
Reference in a new issue