From d7512e85b4d988501d55ad3705796ee026b05dba Mon Sep 17 00:00:00 2001 From: Arjen Veenhuizen Date: Tue, 24 May 2016 23:30:09 +1000 Subject: [PATCH] gltransformation: make the pivot-z property READWRITE Instead of just being READABLE. https://bugzilla.gnome.org/show_bug.cgi?id=766818 --- ext/gl/gstgltransformation.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/gl/gstgltransformation.c b/ext/gl/gstgltransformation.c index 4a3213807d..b303d0ce32 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,