summaryrefslogtreecommitdiff
path: root/gst/geometrictransform
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2010-12-30 19:03:54 -0800
committerDavid Schleef <ds@schleef.org>2010-12-30 19:25:46 -0800
commit2f5c92f1c8540fb4d573436609b34a6b393211ba (patch)
treed5a71101cedb25ce9a10958ecd633734593b140e /gst/geometrictransform
parent512c66d8ba25c782e0c68782361722cb3d4974bd (diff)
downloadgstreamer-plugins-bad-2f5c92f1c8540fb4d573436609b34a6b393211ba.tar.gz
change M_PI to G_PI
Diffstat (limited to 'gst/geometrictransform')
-rw-r--r--gst/geometrictransform/gstrotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/geometrictransform/gstrotate.c b/gst/geometrictransform/gstrotate.c
index a7433cce0..6c5ba62cb 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 * M_PI / 180.0; /* angle of rotation, degrees to radians */
+ ar = rotate->angle * G_PI / 180.0; /* angle of rotation, degrees to radians */
/* get in and out centers */
cox = 0.5 * w;