mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
basetextoverlay: make deltax and deltay properties controllable
This will be more useful once we have absolute direct control bindings. https://bugzilla.gnome.org/show_bug.cgi?id=749824
This commit is contained in:
parent
1c10b58cce
commit
af7a311c1c
1 changed files with 3 additions and 2 deletions
|
@ -377,11 +377,12 @@ gst_base_text_overlay_class_init (GstBaseTextOverlayClass * klass)
|
|||
g_param_spec_int ("deltax", "X position modifier",
|
||||
"Shift X position to the left or to the right. Unit is pixels.",
|
||||
G_MININT, G_MAXINT, DEFAULT_PROP_DELTAX,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
GST_PARAM_CONTROLLABLE | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DELTAY,
|
||||
g_param_spec_int ("deltay", "Y position modifier",
|
||||
"Shift Y position up or down. Unit is pixels.", G_MININT, G_MAXINT,
|
||||
DEFAULT_PROP_DELTAY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
GST_PARAM_CONTROLLABLE | DEFAULT_PROP_DELTAY,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstBaseTextOverlay:xpos:
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue