From 113d5c143c02d46ed9199990cf40c3d4ec265211 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 4a32138..b303d0c 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, -- 2.7.4