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
@ -377,11 +377,12 @@ gst_base_text_overlay_class_init (GstBaseTextOverlayClass * klass)
|
|||||||
g_param_spec_int ("deltax", "X position modifier",
|
g_param_spec_int ("deltax", "X position modifier",
|
||||||
"Shift X position to the left or to the right. Unit is pixels.",
|
"Shift X position to the left or to the right. Unit is pixels.",
|
||||||
G_MININT, G_MAXINT, DEFAULT_PROP_DELTAX,
|
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_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DELTAY,
|
||||||
g_param_spec_int ("deltay", "Y position modifier",
|
g_param_spec_int ("deltay", "Y position modifier",
|
||||||
"Shift Y position up or down. Unit is pixels.", G_MININT, G_MAXINT,
|
"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:
|
* GstBaseTextOverlay:xpos:
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user