diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2012-02-04 22:06:57 +0000 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2012-02-04 22:07:54 +0000 |
commit | ddff93320dda8460c22fbe3cc0567b40fb4a0f31 (patch) | |
tree | c784682618b0020e8ca537b1043545ad1d432387 | |
parent | e84bbcbeabece21849f45d51b6e0f7b766cfa4dd (diff) |
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
-rw-r--r-- | gst/geometrictransform/gstrotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/geometrictransform/gstrotate.c b/gst/geometrictransform/gstrotate.c index 2c26bc3fe..764feb56a 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; |