summaryrefslogtreecommitdiff
path: root/ext/gl
diff options
context:
space:
mode:
authorArjen Veenhuizen <arjen.veenhuizen@tno.nl>2016-05-24 23:30:09 +1000
committerMatthew Waters <matthew@centricular.com>2016-05-24 23:30:09 +1000
commit113d5c143c02d46ed9199990cf40c3d4ec265211 (patch)
treed11fd155aa4e3e8c603d066d597965ebe859821d /ext/gl
parentdff46e3239e4337de37b25ad8970af2335ad74cf (diff)
downloadgstreamer-plugins-bad-113d5c143c02d46ed9199990cf40c3d4ec265211.tar.gz
gltransformation: make the pivot-z property READWRITE
Instead of just being READABLE. https://bugzilla.gnome.org/show_bug.cgi?id=766818
Diffstat (limited to 'ext/gl')
-rw-r--r--ext/gl/gstgltransformation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/gl/gstgltransformation.c b/ext/gl/gstgltransformation.c
index 4a3213807..b303d0ce3 100644
--- a/ext/gl/gstgltransformation.c
+++ b/ext/gl/gstgltransformation.c
@@ -203,14 +203,14 @@ gst_gl_transformation_class_init (GstGLTransformationClass * klass)
g_object_class_install_property (gobject_class, PROP_PIVOT_X,
g_param_spec_float ("pivot-x", "X Pivot",
"Rotation pivot point X coordinate, where 0 is the center,"
- " -1 the lef +1 the right boarder and <-1, >1 outside.",
+ " -1 the left border, +1 the right border and <-1, >1 outside.",
-G_MAXFLOAT, G_MAXFLOAT, 0.0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_PIVOT_Y,
g_param_spec_float ("pivot-y", "Y Pivot",
"Rotation pivot point X coordinate, where 0 is the center,"
- " -1 the lef +1 the right boarder and <-1, >1 outside.",
+ " -1 the left border, +1 the right border and <-1, >1 outside.",
-G_MAXFLOAT, G_MAXFLOAT, 0.0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
@@ -218,7 +218,7 @@ gst_gl_transformation_class_init (GstGLTransformationClass * klass)
g_param_spec_float ("pivot-z", "Z Pivot",
"Relevant for rotation in 3D space. You look into the negative Z axis direction",
-G_MAXFLOAT, G_MAXFLOAT, 0.0,
- G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* MVP */
g_object_class_install_property (gobject_class, PROP_MVP,