summaryrefslogtreecommitdiff
path: root/gst/geometrictransform/gstfisheye.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/geometrictransform/gstfisheye.c')
-rw-r--r--gst/geometrictransform/gstfisheye.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/geometrictransform/gstfisheye.c b/gst/geometrictransform/gstfisheye.c
index a11fca2d6..39be190e8 100644
--- a/gst/geometrictransform/gstfisheye.c
+++ b/gst/geometrictransform/gstfisheye.c
@@ -74,7 +74,9 @@ static gboolean
fisheye_map (GstGeometricTransform * gt, gint x, gint y, gdouble * in_x,
gdouble * in_y)
{
+#ifndef GST_DISABLE_GST_DEBUG
GstFisheye *fisheye = GST_FISHEYE_CAST (gt);
+#endif
gdouble norm_x;
gdouble norm_y;
gdouble r;