mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
e84bbcbeab
commit
ddff93320d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue