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
This commit is contained in:
Vincent Penquerc'h 2012-02-04 22:06:57 +00:00
parent e84bbcbeab
commit ddff93320d

View file

@ -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;