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
@ -154,7 +154,7 @@ rotate_map (GstGeometricTransform * gt, gint x, gint y, gdouble * in_x,
|
|||||||
h = gt->height;
|
h = gt->height;
|
||||||
|
|
||||||
/* our parameters */
|
/* 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 */
|
/* get in and out centers */
|
||||||
cox = 0.5 * w;
|
cox = 0.5 * w;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user