From ddff93320dda8460c22fbe3cc0567b40fb4a0f31 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Sat, 4 Feb 2012 22:06:57 +0000 Subject: [PATCH] rotate: angle is in radians already, do not scale it Other plugins use radians, and the angle documentation says radians. https://bugzilla.gnome.org/show_bug.cgi?id=669365 --- gst/geometrictransform/gstrotate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/geometrictransform/gstrotate.c b/gst/geometrictransform/gstrotate.c index 2c26bc3fed..764feb56a0 100644 --- a/gst/geometrictransform/gstrotate.c +++ b/gst/geometrictransform/gstrotate.c @@ -154,7 +154,7 @@ rotate_map (GstGeometricTransform * gt, gint x, gint y, gdouble * in_x, h = gt->height; /* our parameters */ - ar = rotate->angle * G_PI / 180.0; /* angle of rotation, degrees to radians */ + ar = rotate->angle; /* angle of rotation */ /* get in and out centers */ cox = 0.5 * w;